	format	MS COFF
	extrn	___bb_appstub_appstub
	extrn	___bb_audio_audio
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_bmploader_bmploader
	extrn	___bb_d3d7max2d_d3d7max2d
	extrn	___bb_d3d9max2d_d3d9max2d
	extrn	___bb_data_data
	extrn	___bb_directsoundaudio_directsoundaudio
	extrn	___bb_drivers_drivers
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freeprocess_freeprocess
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_glew_glew
	extrn	___bb_gnet_gnet
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_macos_macos
	extrn	___bb_maxlua_maxlua
	extrn	___bb_maxml_maxml
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_openalaudio_openalaudio
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_threads_threads
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	_bbAppTitle
	extrn	_bbArrayNew1D
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbEnd
	extrn	_bbGCFree
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFromInt
	extrn	_bbStringToInt
	extrn	_bbSystemDesktopHeight
	extrn	_bbSystemDesktopWidth
	extrn	_brl_bank_LoadBank
	extrn	_brl_bank_SaveBank
	extrn	_brl_bank_TBank
	extrn	_brl_blitz_ArrayBoundsError
	extrn	_brl_blitz_DebugLog
	extrn	_brl_blitz_NullObjectError
	extrn	_brl_eventqueue_EventData
	extrn	_brl_eventqueue_EventExtra
	extrn	_brl_eventqueue_EventID
	extrn	_brl_eventqueue_EventSource
	extrn	_brl_eventqueue_WaitEvent
	extrn	_brl_filesystem_CreateDir
	extrn	_brl_filesystem_ExtractDir
	extrn	_brl_filesystem_ExtractExt
	extrn	_brl_filesystem_FileType
	extrn	_brl_filesystem_NextFile
	extrn	_brl_filesystem_ReadDir
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_SetGraphics
	extrn	_brl_linkedlist_ListAddLast
	extrn	_brl_linkedlist_ListRemove
	extrn	_brl_linkedlist_TList
	extrn	_brl_max2d_Cls
	extrn	_brl_max2d_DrawText
	extrn	_brl_max2d_LoadAnimImage
	extrn	_brl_max2d_SetBlend
	extrn	_brl_pixmap_LoadPixmap
	extrn	_brl_random_Rand
	extrn	_brl_retro_Lower
	extrn	_brl_retro_Replace
	extrn	_brl_system_Notify
	extrn	_brl_system_RequestFile
	extrn	_brl_timer_CreateTimer
	extrn	_maxgui_maxgui_AddGadgetItem
	extrn	_maxgui_maxgui_AddTreeViewNode
	extrn	_maxgui_maxgui_CanvasGraphics
	extrn	_maxgui_maxgui_ClientHeight
	extrn	_maxgui_maxgui_ClientWidth
	extrn	_maxgui_maxgui_CountGadgetItems
	extrn	_maxgui_maxgui_CreateButton
	extrn	_maxgui_maxgui_CreateCanvas
	extrn	_maxgui_maxgui_CreateComboBox
	extrn	_maxgui_maxgui_CreateLabel
	extrn	_maxgui_maxgui_CreateListBox
	extrn	_maxgui_maxgui_CreateMenu
	extrn	_maxgui_maxgui_CreatePanel
	extrn	_maxgui_maxgui_CreateSlider
	extrn	_maxgui_maxgui_CreateTabber
	extrn	_maxgui_maxgui_CreateTextField
	extrn	_maxgui_maxgui_CreateToolbar
	extrn	_maxgui_maxgui_CreateTreeView
	extrn	_maxgui_maxgui_CreateWindow
	extrn	_maxgui_maxgui_DisableGadget
	extrn	_maxgui_maxgui_FreeGadget
	extrn	_maxgui_maxgui_GadgetExtra
	extrn	_maxgui_maxgui_GadgetItemText
	extrn	_maxgui_maxgui_GadgetText
	extrn	_maxgui_maxgui_HideGadget
	extrn	_maxgui_maxgui_LoadIconStrip
	extrn	_maxgui_maxgui_RedrawGadget
	extrn	_maxgui_maxgui_SelectGadgetItem
	extrn	_maxgui_maxgui_SelectedGadgetItem
	extrn	_maxgui_maxgui_SelectedTreeViewNode
	extrn	_maxgui_maxgui_SetGadgetIconStrip
	extrn	_maxgui_maxgui_SetGadgetLayout
	extrn	_maxgui_maxgui_SetGadgetShape
	extrn	_maxgui_maxgui_SetGadgetText
	extrn	_maxgui_maxgui_SetPanelColor
	extrn	_maxgui_maxgui_SetPanelPixmap
	extrn	_maxgui_maxgui_ShowGadget
	extrn	_maxgui_maxgui_TextFieldText
	extrn	_maxgui_maxgui_TreeViewRoot
	extrn	_maxgui_maxgui_UpdateWindowMenu
	extrn	_maxgui_maxgui_WindowMenu
	extrn	_pub_maxml_xmlDocument
	public	__bb_Asset_Delete
	public	__bb_Asset_FetchAssetPath
	public	__bb_Asset_Load
	public	__bb_Asset_LoadAsset
	public	__bb_Asset_New
	public	__bb_Asset_Save
	public	__bb_Asset_Widget_Add_Tileset
	public	__bb_Asset_Widget_Delete
	public	__bb_Asset_Widget_LoadAssets
	public	__bb_Asset_Widget_New
	public	__bb_Asset_Widget_Set
	public	__bb_Asset_Widget_Update
	public	__bb_Configuration_Delete
	public	__bb_Configuration_LoadConfig
	public	__bb_Configuration_New
	public	__bb_Configuration_SaveConfig
	public	__bb_Editor_Main_Delete
	public	__bb_Editor_Main_Init
	public	__bb_Editor_Main_New
	public	__bb_Editor_Main_New_Rect
	public	__bb_Editor_Main_SetMenu
	public	__bb_Editor_Main_SetWindow
	public	__bb_Editor_Main_UpdateUI
	public	__bb_MapEditor_Module_Delete
	public	__bb_MapEditor_Module_New
	public	__bb_MapEditor_Module_Set
	public	__bb_MapWindow_Delete
	public	__bb_MapWindow_New
	public	__bb_MapWindow_Set
	public	__bb_MapWindow_Update
	public	__bb_Map_Delete
	public	__bb_Map_New
	public	__bb_Map_Setup
	public	__bb_Mapeditor_Widget_Delete
	public	__bb_Mapeditor_Widget_New
	public	__bb_Mapeditor_Widget_Set
	public	__bb_Mapeditor_Widget_Update
	public	__bb_NewProjectWindow_Delete
	public	__bb_NewProjectWindow_New
	public	__bb_NewProjectWindow_Set
	public	__bb_NewProjectWindow_Update
	public	__bb_ProjectSelector_Delete
	public	__bb_ProjectSelector_New
	public	__bb_ProjectSelector_Update
	public	__bb_Script_Delete
	public	__bb_Script_New
	public	__bb_Tab_Module_AddModule
	public	__bb_Tab_Module_Delete
	public	__bb_Tab_Module_New
	public	__bb_Tab_Module_Set
	public	__bb_Tab_Module_Update
	public	__bb_TilesetWindow_Delete
	public	__bb_TilesetWindow_New
	public	__bb_TilesetWindow_Set
	public	__bb_TilesetWindow_Update
	public	__bb_Tileset_Delete
	public	__bb_Tileset_Load
	public	__bb_Tileset_New
	public	__bb_Tileset_Save
	public	__bb_Tileset_TilesetFromBank
	public	__bb_ToolWindow_Delete
	public	__bb_ToolWindow_New
	public	__bb_ToolWindow_Set
	public	__bb_ToolWindow_SetAll
	public	__bb_ToolWindow_Update
	public	__bb_UIRect_Delete
	public	__bb_UIRect_New
	public	__bb_UIRect_Set
	public	__bb_Wall_Delete
	public	__bb_Wall_New
	public	__bb_Widget_Delete
	public	__bb_Widget_New
	public	__bb_Widget_Set
	public	__bb_Widget_SetAll
	public	__bb_Widget_SetIconAsset
	public	__bb_Widget_SetShape
	public	__bb_Widget_SetTitle
	public	__bb_Widget_Update
	public	__bb_main
	public	_bb_Asset
	public	_bb_Asset_List
	public	_bb_Asset_Widget
	public	_bb_Config
	public	_bb_Configuration
	public	_bb_CurrentProject
	public	_bb_Editor_Main
	public	_bb_GenerateTileset
	public	_bb_MainEd
	public	_bb_Map
	public	_bb_MapEditor_Module
	public	_bb_MapWindow
	public	_bb_Mapeditor_Widget
	public	_bb_Maplist
	public	_bb_NewProjectWindow
	public	_bb_Proj
	public	_bb_ProjectSelector
	public	_bb_Script
	public	_bb_Tab_Module
	public	_bb_Tileset
	public	_bb_TilesetList
	public	_bb_TilesetWindow
	public	_bb_ToolWindow
	public	_bb_UIRect
	public	_bb_Wall
	public	_bb_Widget
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_757],0
	je	_758
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_758:
	mov	dword [_757],1
	push	ebp
	push	_708
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_drivers_drivers
	call	___bb_appstub_appstub
	call	___bb_audio_audio
	call	___bb_basic_basic
	call	___bb_bmploader_bmploader
	call	___bb_d3d7max2d_d3d7max2d
	call	___bb_d3d9max2d_d3d9max2d
	call	___bb_data_data
	call	___bb_directsoundaudio_directsoundaudio
	call	___bb_eventqueue_eventqueue
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_gnet_gnet
	call	___bb_jpgloader_jpgloader
	call	___bb_maxlua_maxlua
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_openalaudio_openalaudio
	call	___bb_pngloader_pngloader
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_threads_threads
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_glew_glew
	call	___bb_macos_macos
	call	___bb_maxml_maxml
	push	_bb_Tileset
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Map
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Wall
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Script
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Asset
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Widget
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_UIRect
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MapEditor_Module
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Mapeditor_Widget
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Asset_Widget
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Tab_Module
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TilesetWindow
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MapWindow
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_NewProjectWindow
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_ToolWindow
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Editor_Main
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_ProjectSelector
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Configuration
	call	_bbObjectRegisterType
	add	esp,4
	push	_648
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_651]
	and	eax,1
	cmp	eax,0
	jne	_652
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_TilesetList],eax
	or	dword [_651],1
_652:
	push	_653
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_651]
	and	eax,2
	cmp	eax,0
	jne	_656
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Maplist],eax
	or	dword [_651],2
_656:
	push	_657
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_651]
	and	eax,4
	cmp	eax,0
	jne	_660
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Asset_List],eax
	or	dword [_651],4
_660:
	push	_661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_177
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_666
	push	eax
	call	_bbGCFree
	add	esp,4
_666:
	mov	dword [_bbAppTitle],ebx
	push	_667
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_651]
	and	eax,8
	cmp	eax,0
	jne	_670
	push	_bb_Configuration
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Config],eax
	or	dword [_651],8
_670:
	push	_671
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_Config]
	cmp	ebx,_bbNullObject
	jne	_673
	call	_brl_blitz_NullObjectError
_673:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_674
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_675
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_676
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [_bb_CurrentProject]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_677
	push	ebp
	push	_683
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_678
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_ProjectSelector
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_Proj]
	dec	dword [eax+4]
	jnz	_682
	push	eax
	call	_bbGCFree
	add	esp,4
_682:
	mov	dword [_bb_Proj],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_684
_677:
	push	ebp
	push	_693
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Editor_Main
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_MainEd]
	dec	dword [eax+4]
	jnz	_689
	push	eax
	call	_bbGCFree
	add	esp,4
_689:
	mov	dword [_bb_MainEd],ebx
	push	_690
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_692
	call	_brl_blitz_NullObjectError
_692:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_684:
	push	_694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_180:
_178:
	push	ebp
	push	_707
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_Proj],_bbNullObject
	je	_696
	push	ebp
	push	_700
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_Proj]
	cmp	ebx,_bbNullObject
	jne	_699
	call	_brl_blitz_NullObjectError
_699:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_696:
	push	_701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_MainEd],_bbNullObject
	je	_702
	push	ebp
	push	_706
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_703
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_705
	call	_brl_blitz_NullObjectError
_705:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_702:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_180
__bb_Tileset_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_766
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Asset_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Tileset
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],0
	push	ebp
	push	_765
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_762
	call	_brl_blitz_NullObjectError
_762:
	mov	dword [ebx+20],3
	push	_764
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-4]
	push	dword [_bb_TilesetList]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_342
_342:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tileset_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_345:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_770
	push	eax
	call	_bbGCFree
	add	esp,4
_770:
	mov	dword [ebx],_bb_Asset
	push	ebx
	call	__bb_Asset_Delete
	add	esp,4
	mov	eax,0
	jmp	_768
_768:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tileset_Load:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_885
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_771
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	push	_773
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_775
	call	_brl_blitz_NullObjectError
_775:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_777
	call	_brl_blitz_NullObjectError
_777:
	push	dword [ebx+12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	push	_778
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_780
	call	_brl_blitz_NullObjectError
_780:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_782
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_784
	call	_brl_blitz_NullObjectError
_784:
	push	1
	push	1
	push	_27
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+104]
	add	esp,16
	mov	dword [ebp-16],eax
	push	_786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_788
	call	_brl_blitz_NullObjectError
_788:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_791
	call	_brl_blitz_NullObjectError
_791:
	push	1
	push	_28
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_793
	call	_brl_blitz_NullObjectError
_793:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+44],eax
	push	_794
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_796
	call	_brl_blitz_NullObjectError
_796:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_799
	call	_brl_blitz_NullObjectError
_799:
	push	1
	push	_29
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_801
	call	_brl_blitz_NullObjectError
_801:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+48],eax
	push	_802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_804
	call	_brl_blitz_NullObjectError
_804:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_807
	call	_brl_blitz_NullObjectError
_807:
	push	1
	push	_30
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_809
	call	_brl_blitz_NullObjectError
_809:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+40],eax
	push	_810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_812
	call	_brl_blitz_NullObjectError
_812:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_815
	call	_brl_blitz_NullObjectError
_815:
	push	1
	push	_31
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_817
	call	_brl_blitz_NullObjectError
_817:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+56],eax
	push	_818
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_820
	call	_brl_blitz_NullObjectError
_820:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_823
	call	_brl_blitz_NullObjectError
_823:
	push	1
	push	_32
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_825
	call	_brl_blitz_NullObjectError
_825:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+60],eax
	push	_826
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_828
	call	_brl_blitz_NullObjectError
_828:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_831
	call	_brl_blitz_NullObjectError
_831:
	push	1
	push	_33
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_833
	call	_brl_blitz_NullObjectError
_833:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+64],eax
	push	_834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_836
	call	_brl_blitz_NullObjectError
_836:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_839
	call	_brl_blitz_NullObjectError
_839:
	push	1
	push	_34
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_841
	call	_brl_blitz_NullObjectError
_841:
	push	dword [esi+12]
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+36],eax
	push	_842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_844
	call	_brl_blitz_NullObjectError
_844:
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_847
	call	_brl_blitz_NullObjectError
_847:
	push	1
	push	_35
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_849
	call	_brl_blitz_NullObjectError
_849:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_853
	push	eax
	call	_bbGCFree
	add	esp,4
_853:
	mov	dword [esi+24],ebx
	push	_854
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_856
	call	_brl_blitz_NullObjectError
_856:
	push	_38
	push	_39
	push	dword [ebx+24]
	push	_38
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	_36
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_857
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_859
	call	_brl_blitz_NullObjectError
_859:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_862
	call	_brl_blitz_NullObjectError
_862:
	push	_38
	push	_39
	push	dword [esi+24]
	push	_38
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	call	_brl_bank_LoadBank
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_866
	push	eax
	call	_bbGCFree
	add	esp,4
_866:
	mov	dword [ebx+12],esi
	push	_867
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_869
	call	_brl_blitz_NullObjectError
_869:
	mov	dword [ebp-28],ebx
	mov	eax,dword [ebp-4]
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	jne	_872
	call	_brl_blitz_NullObjectError
_872:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],_bbNullObject
	jne	_874
	call	_brl_blitz_NullObjectError
_874:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_876
	call	_brl_blitz_NullObjectError
_876:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_878
	call	_brl_blitz_NullObjectError
_878:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_880
	call	_brl_blitz_NullObjectError
_880:
	push	dword [ebx+36]
	push	dword [esi+40]
	push	0
	push	dword [edi+48]
	mov	eax,dword [ebp-20]
	push	dword [eax+44]
	mov	eax,dword [ebp-24]
	push	dword [eax+12]
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_884
	push	eax
	call	_bbGCFree
	add	esp,4
_884:
	mov	eax,dword [ebp-28]
	mov	dword [eax+52],ebx
	mov	ebx,0
	jmp	_348
_348:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tileset_Save:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_1017
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_891
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	push	_893
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_895
	call	_brl_blitz_NullObjectError
_895:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_897
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_899
	call	_brl_blitz_NullObjectError
_899:
	push	1
	push	_27
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-16],eax
	push	_901
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_903
	call	_brl_blitz_NullObjectError
_903:
	push	1
	push	_28
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_905
	call	_brl_blitz_NullObjectError
_905:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_908
	call	_brl_blitz_NullObjectError
_908:
	push	dword [ebx+44]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_912
	push	eax
	call	_bbGCFree
	add	esp,4
_912:
	mov	dword [esi+12],ebx
	push	_913
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_915
	call	_brl_blitz_NullObjectError
_915:
	push	1
	push	_29
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_917
	call	_brl_blitz_NullObjectError
_917:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_920
	call	_brl_blitz_NullObjectError
_920:
	push	dword [ebx+48]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_924
	push	eax
	call	_bbGCFree
	add	esp,4
_924:
	mov	dword [esi+12],ebx
	push	_925
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_927
	call	_brl_blitz_NullObjectError
_927:
	push	1
	push	_30
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_929
	call	_brl_blitz_NullObjectError
_929:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_932
	call	_brl_blitz_NullObjectError
_932:
	push	dword [ebx+40]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_936
	push	eax
	call	_bbGCFree
	add	esp,4
_936:
	mov	dword [esi+12],ebx
	push	_937
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_939
	call	_brl_blitz_NullObjectError
_939:
	push	1
	push	_31
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_941
	call	_brl_blitz_NullObjectError
_941:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_944
	call	_brl_blitz_NullObjectError
_944:
	push	dword [ebx+56]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_948
	push	eax
	call	_bbGCFree
	add	esp,4
_948:
	mov	dword [esi+12],ebx
	push	_949
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_951
	call	_brl_blitz_NullObjectError
_951:
	push	1
	push	_32
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_953
	call	_brl_blitz_NullObjectError
_953:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_956
	call	_brl_blitz_NullObjectError
_956:
	push	dword [ebx+60]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_960
	push	eax
	call	_bbGCFree
	add	esp,4
_960:
	mov	dword [esi+12],ebx
	push	_961
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_963
	call	_brl_blitz_NullObjectError
_963:
	push	1
	push	_33
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_965
	call	_brl_blitz_NullObjectError
_965:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_968
	call	_brl_blitz_NullObjectError
_968:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_972
	push	eax
	call	_bbGCFree
	add	esp,4
_972:
	mov	dword [esi+12],ebx
	push	_973
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_975
	call	_brl_blitz_NullObjectError
_975:
	push	1
	push	_34
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_977
	call	_brl_blitz_NullObjectError
_977:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_980
	call	_brl_blitz_NullObjectError
_980:
	push	dword [ebx+36]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_984
	push	eax
	call	_bbGCFree
	add	esp,4
_984:
	mov	dword [esi+12],ebx
	push	_985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_987
	call	_brl_blitz_NullObjectError
_987:
	push	1
	push	_35
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_989
	call	_brl_blitz_NullObjectError
_989:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_992
	call	_brl_blitz_NullObjectError
_992:
	mov	ebx,dword [ebx+24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_996
	push	eax
	call	_bbGCFree
	add	esp,4
_996:
	mov	dword [esi+12],ebx
	push	_997
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_999
	call	_brl_blitz_NullObjectError
_999:
	push	dword [ebx+24]
	push	_40
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1000
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1002
	call	_brl_blitz_NullObjectError
_1002:
	push	_41
	push	dword [ebx+24]
	call	_brl_filesystem_ExtractExt
	add	esp,4
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1003
	mov	eax,ebp
	push	eax
	push	_1009
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1004
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1006
	call	_brl_blitz_NullObjectError
_1006:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1008
	call	_brl_blitz_NullObjectError
_1008:
	push	1
	push	_38
	push	_39
	push	dword [esi+24]
	push	_39
	push	dword [_bb_CurrentProject]
	push	_42
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1010
_1003:
	mov	eax,ebp
	push	eax
	push	_1016
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1011
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1013
	call	_brl_blitz_NullObjectError
_1013:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1015
	call	_brl_blitz_NullObjectError
_1015:
	push	1
	push	_38
	push	_39
	push	_43
	push	dword [esi+24]
	push	_39
	push	dword [_bb_CurrentProject]
	push	_42
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_1010:
	mov	ebx,0
	jmp	_351
_351:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tileset_TilesetFromBank:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-24],eax
	mov	eax,ebp
	push	eax
	push	_1072
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1018
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],_bbNullObject
	jne	_1019
	mov	eax,ebp
	push	eax
	push	_1021
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1020
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_359
_1019:
	push	_1022
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_44
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1023
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1025
	call	_brl_blitz_NullObjectError
_1025:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1030
	push	eax
	call	_bbGCFree
	add	esp,4
_1030:
	mov	dword [esi+12],ebx
	push	_1031
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1033
	call	_brl_blitz_NullObjectError
_1033:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+40],eax
	push	_1035
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1037
	call	_brl_blitz_NullObjectError
_1037:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+44],eax
	push	_1039
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1041
	call	_brl_blitz_NullObjectError
_1041:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+48],eax
	push	_1043
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1045
	call	_brl_blitz_NullObjectError
_1045:
	mov	eax,dword [ebp-24]
	mov	dword [ebx+36],eax
	push	_1047
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1049
	call	_brl_blitz_NullObjectError
_1049:
	mov	dword [ebp-32],ebx
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_1052
	call	_brl_blitz_NullObjectError
_1052:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1054
	call	_brl_blitz_NullObjectError
_1054:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1056
	call	_brl_blitz_NullObjectError
_1056:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1058
	call	_brl_blitz_NullObjectError
_1058:
	push	dword [ebx+36]
	push	dword [esi+40]
	push	0
	push	dword [edi+48]
	mov	eax,dword [ebp-28]
	push	dword [eax+44]
	push	dword [ebp-8]
	call	_brl_max2d_LoadAnimImage
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_1062
	push	eax
	call	_bbGCFree
	add	esp,4
_1062:
	mov	eax,dword [ebp-32]
	mov	dword [eax+52],ebx
	push	_1063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1065
	call	_brl_blitz_NullObjectError
_1065:
	cmp	dword [ebx+52],_bbNullObject
	jne	_1066
	mov	eax,ebp
	push	eax
	push	_1068
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1067
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_359
_1066:
	mov	eax,ebp
	push	eax
	push	_1071
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1070
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_359
_359:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Map_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1083
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Asset_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Map
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],255
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],255
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],255
	push	ebp
	push	_1082
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1081
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-4]
	push	dword [_bb_Maplist]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_362
_362:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Map_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_365:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_1086
	push	eax
	call	_bbGCFree
	add	esp,4
_1086:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_1088
	push	eax
	call	_bbGCFree
	add	esp,4
_1088:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_1090
	push	eax
	call	_bbGCFree
	add	esp,4
_1090:
	mov	dword [ebx],_bb_Asset
	push	ebx
	call	__bb_Asset_Delete
	add	esp,4
	mov	eax,0
	jmp	_1084
_1084:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Map_Setup:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	dword [ebp-24],_bbEmptyArray
	mov	dword [ebp-28],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_1121
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1091
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	imul	eax,dword [ebp-16]
	push	eax
	push	_1092
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-24],eax
	push	_1094
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	imul	eax,dword [ebp-16]
	push	eax
	push	_1095
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-28],eax
	push	_1097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1099
	call	_brl_blitz_NullObjectError
_1099:
	mov	ebx,dword [ebp-24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_1104
	push	eax
	call	_bbGCFree
	add	esp,4
_1104:
	mov	dword [esi+44],ebx
	push	_1105
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1107
	call	_brl_blitz_NullObjectError
_1107:
	mov	ebx,dword [ebp-28]
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_1112
	push	eax
	call	_bbGCFree
	add	esp,4
_1112:
	mov	dword [esi+48],ebx
	push	_1113
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1115
	call	_brl_blitz_NullObjectError
_1115:
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_1120
	push	eax
	call	_bbGCFree
	add	esp,4
_1120:
	mov	dword [esi+40],ebx
	mov	ebx,0
	jmp	_372
_372:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Wall_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1129
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Wall
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+24],0
	push	ebp
	push	_1128
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_375
_375:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Wall_Delete:
	push	ebp
	mov	ebp,esp
_378:
	mov	eax,0
	jmp	_1131
_1131:
	mov	esp,ebp
	pop	ebp
	ret
__bb_Script_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1133
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Asset_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Script
	push	ebp
	push	_1132
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_381
_381:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Script_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_384:
	mov	dword [eax],_bb_Asset
	push	eax
	call	__bb_Asset_Delete
	add	esp,4
	mov	eax,0
	jmp	_1135
_1135:
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1144
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Asset
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_45
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	push	ebp
	push	_1143
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1142
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-4]
	push	dword [_bb_Asset_List]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_387
_387:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_390:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_1147
	push	eax
	call	_bbGCFree
	add	esp,4
_1147:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_1149
	push	eax
	call	_bbGCFree
	add	esp,4
_1149:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1151
	push	eax
	call	_bbGCFree
	add	esp,4
_1151:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_1153
	push	eax
	call	_bbGCFree
	add	esp,4
_1153:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_1155
	push	eax
	call	_bbGCFree
	add	esp,4
_1155:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_1157
	push	eax
	call	_bbGCFree
	add	esp,4
_1157:
	mov	eax,0
	jmp	_1145
_1145:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Save:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1158
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_393
_393:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Load:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1159
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_396
_396:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_FetchAssetPath:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1177
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1160
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1162
	call	_brl_blitz_NullObjectError
_1162:
	cmp	dword [ebx+16],_bbNullObject
	jne	_1163
	push	ebp
	push	_1167
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1164
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1166
	call	_brl_blitz_NullObjectError
_1166:
	mov	ebx,dword [ebx+24]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_399
_1163:
	push	ebp
	push	_1176
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1169
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1171
	call	_brl_blitz_NullObjectError
_1171:
	mov	esi,dword [ebx+16]
	cmp	esi,_bbNullObject
	jne	_1173
	call	_brl_blitz_NullObjectError
_1173:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1175
	call	_brl_blitz_NullObjectError
_1175:
	push	dword [ebx+24]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_399
_399:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_LoadAsset:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_1411
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1178
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1180
	call	_brl_blitz_NullObjectError
_1180:
	push	_38
	push	_39
	push	dword [ebp-8]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1185
	push	eax
	call	_bbGCFree
	add	esp,4
_1185:
	mov	dword [esi+8],ebx
	push	_1186
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1188
	call	_brl_blitz_NullObjectError
_1188:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1191
	call	_brl_blitz_NullObjectError
_1191:
	push	dword [ebx+8]
	call	_brl_bank_LoadBank
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1195
	push	eax
	call	_bbGCFree
	add	esp,4
_1195:
	mov	dword [esi+12],ebx
	push	_1196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1198
	call	_brl_blitz_NullObjectError
_1198:
	push	dword [ebx+8]
	call	_brl_filesystem_ExtractExt
	add	esp,4
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	mov	ebx,eax
	push	_46
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1201
	push	_47
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1201
	push	_48
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1201
	push	_41
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1202
	push	_50
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1203
	push	_51
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1204
	mov	eax,ebp
	push	eax
	push	_1254
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1205
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Asset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_1207
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1209
	call	_brl_blitz_NullObjectError
_1209:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1212
	call	_brl_blitz_NullObjectError
_1212:
	mov	ebx,dword [ebx+8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1216
	push	eax
	call	_bbGCFree
	add	esp,4
_1216:
	mov	dword [esi+8],ebx
	push	_1217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1219
	call	_brl_blitz_NullObjectError
_1219:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1222
	call	_brl_blitz_NullObjectError
_1222:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1226
	push	eax
	call	_bbGCFree
	add	esp,4
_1226:
	mov	dword [esi+12],ebx
	push	_1227
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1229
	call	_brl_blitz_NullObjectError
_1229:
	mov	dword [ebx+20],0
	push	_1231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1233
	call	_brl_blitz_NullObjectError
_1233:
	mov	edi,ebx
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1236
	call	_brl_blitz_NullObjectError
_1236:
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1238
	call	_brl_blitz_NullObjectError
_1238:
	push	_1
	push	dword [ebx+8]
	call	_brl_filesystem_ExtractDir
	add	esp,4
	push	eax
	push	dword [esi+8]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_1242
	push	eax
	call	_bbGCFree
	add	esp,4
_1242:
	mov	dword [edi+28],ebx
	push	_1243
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1245
	call	_brl_blitz_NullObjectError
_1245:
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1248
	call	_brl_blitz_NullObjectError
_1248:
	push	dword [esi+28]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1252
	push	eax
	call	_bbGCFree
	add	esp,4
_1252:
	mov	dword [ebx+24],esi
	push	_1253
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_404
_1201:
	mov	eax,ebp
	push	eax
	push	_1261
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1256
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1258
	call	_brl_blitz_NullObjectError
_1258:
	mov	dword [ebx+20],1
	push	_1260
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_404
_1202:
	mov	eax,ebp
	push	eax
	push	_1308
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tileset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_1264
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_1266
	call	_brl_blitz_NullObjectError
_1266:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1269
	call	_brl_blitz_NullObjectError
_1269:
	mov	ebx,dword [ebx+8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1273
	push	eax
	call	_bbGCFree
	add	esp,4
_1273:
	mov	dword [esi+8],ebx
	push	_1274
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_1276
	call	_brl_blitz_NullObjectError
_1276:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1279
	call	_brl_blitz_NullObjectError
_1279:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1283
	push	eax
	call	_bbGCFree
	add	esp,4
_1283:
	mov	dword [esi+12],ebx
	push	_1284
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1286
	call	_brl_blitz_NullObjectError
_1286:
	mov	dword [ebx+20],3
	push	_1288
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1290
	call	_brl_blitz_NullObjectError
_1290:
	mov	edi,ebx
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_1293
	call	_brl_blitz_NullObjectError
_1293:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1295
	call	_brl_blitz_NullObjectError
_1295:
	push	_1
	push	dword [ebx+8]
	call	_brl_filesystem_ExtractDir
	add	esp,4
	push	eax
	push	dword [esi+8]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_1299
	push	eax
	call	_bbGCFree
	add	esp,4
_1299:
	mov	dword [edi+28],ebx
	push	_1300
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1303
	call	_brl_blitz_NullObjectError
_1303:
	push	dword [ebx+28]
	push	dword [ebp-12]
	push	dword [_bb_CurrentProject]
	push	_1301
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1304
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1306
	call	_brl_blitz_NullObjectError
_1306:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	_1307
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_404
_1203:
	mov	eax,ebp
	push	eax
	push	_1358
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1309
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Map
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-24],eax
	push	_1311
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_1313
	call	_brl_blitz_NullObjectError
_1313:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1316
	call	_brl_blitz_NullObjectError
_1316:
	mov	ebx,dword [ebx+8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1320
	push	eax
	call	_bbGCFree
	add	esp,4
_1320:
	mov	dword [esi+8],ebx
	push	_1321
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_1323
	call	_brl_blitz_NullObjectError
_1323:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1326
	call	_brl_blitz_NullObjectError
_1326:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1330
	push	eax
	call	_bbGCFree
	add	esp,4
_1330:
	mov	dword [esi+12],ebx
	push	_1331
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_1333
	call	_brl_blitz_NullObjectError
_1333:
	mov	dword [ebx+20],4
	push	_1335
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_1337
	call	_brl_blitz_NullObjectError
_1337:
	mov	edi,ebx
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_1340
	call	_brl_blitz_NullObjectError
_1340:
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_1342
	call	_brl_blitz_NullObjectError
_1342:
	push	_1
	push	dword [ebx+8]
	call	_brl_filesystem_ExtractDir
	add	esp,4
	push	eax
	push	dword [esi+8]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_1346
	push	eax
	call	_bbGCFree
	add	esp,4
_1346:
	mov	dword [edi+28],ebx
	push	_1347
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_1349
	call	_brl_blitz_NullObjectError
_1349:
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_1352
	call	_brl_blitz_NullObjectError
_1352:
	push	dword [esi+28]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1356
	push	eax
	call	_bbGCFree
	add	esp,4
_1356:
	mov	dword [ebx+24],esi
	push	_1357
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_404
_1204:
	mov	eax,ebp
	push	eax
	push	_1409
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1360
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Script
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_1362
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_1364
	call	_brl_blitz_NullObjectError
_1364:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1367
	call	_brl_blitz_NullObjectError
_1367:
	mov	ebx,dword [ebx+8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1371
	push	eax
	call	_bbGCFree
	add	esp,4
_1371:
	mov	dword [esi+8],ebx
	push	_1372
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_1374
	call	_brl_blitz_NullObjectError
_1374:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1377
	call	_brl_blitz_NullObjectError
_1377:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1381
	push	eax
	call	_bbGCFree
	add	esp,4
_1381:
	mov	dword [esi+12],ebx
	push	_1382
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_1384
	call	_brl_blitz_NullObjectError
_1384:
	mov	dword [ebx+20],2
	push	_1386
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_1388
	call	_brl_blitz_NullObjectError
_1388:
	mov	edi,ebx
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_1391
	call	_brl_blitz_NullObjectError
_1391:
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_1393
	call	_brl_blitz_NullObjectError
_1393:
	push	_1
	push	dword [ebx+8]
	call	_brl_filesystem_ExtractDir
	add	esp,4
	push	eax
	push	dword [esi+8]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_1397
	push	eax
	call	_bbGCFree
	add	esp,4
_1397:
	mov	dword [edi+28],ebx
	push	_1398
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_1400
	call	_brl_blitz_NullObjectError
_1400:
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_1403
	call	_brl_blitz_NullObjectError
_1403:
	push	dword [esi+28]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1407
	push	eax
	call	_bbGCFree
	add	esp,4
_1407:
	mov	dword [ebx+24],esi
	push	_1408
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_404
_404:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_GenerateTileset:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],_bbNullObject
	push	ebp
	push	_1430
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1414
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	push	_1416
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	push	_1418
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],_bbNullObject
	je	_1419
	push	ebp
	push	_1426
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1420
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tileset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-24],eax
	push	_1421
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-4]
	call	_brl_bank_LoadBank
	add	esp,4
	mov	dword [ebp-28],eax
	push	_1422
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_1424
	call	_brl_blitz_NullObjectError
_1424:
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,24
	push	_1425
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_411
_1419:
	push	ebp
	push	_1429
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_411
_411:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1453
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Widget
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	push	_bb_UIRect
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+16],eax
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	push	ebp
	push	_1452
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1443
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1446
	call	_brl_blitz_NullObjectError
_1446:
	push	_bb_UIRect
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_1451
	push	eax
	call	_bbGCFree
	add	esp,4
_1451:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_414
_414:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_417:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_1457
	push	eax
	call	_bbGCFree
	add	esp,4
_1457:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_1459
	push	eax
	call	_bbGCFree
	add	esp,4
_1459:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_1461
	push	eax
	call	_bbGCFree
	add	esp,4
_1461:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_1463
	push	eax
	call	_bbGCFree
	add	esp,4
_1463:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_1465
	push	eax
	call	_bbGCFree
	add	esp,4
_1465:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_1467
	push	eax
	call	_bbGCFree
	add	esp,4
_1467:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_1469
	push	eax
	call	_bbGCFree
	add	esp,4
_1469:
	mov	eax,0
	jmp	_1455
_1455:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_SetShape:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	push	ebp
	push	_1494
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1470
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1472
	call	_brl_blitz_NullObjectError
_1472:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_1474
	call	_brl_blitz_NullObjectError
_1474:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+8],eax
	push	_1476
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1478
	call	_brl_blitz_NullObjectError
_1478:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_1480
	call	_brl_blitz_NullObjectError
_1480:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+12],eax
	push	_1482
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1484
	call	_brl_blitz_NullObjectError
_1484:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_1486
	call	_brl_blitz_NullObjectError
_1486:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+16],eax
	push	_1488
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1490
	call	_brl_blitz_NullObjectError
_1490:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_1492
	call	_brl_blitz_NullObjectError
_1492:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+20],eax
	mov	ebx,0
	jmp	_424
_424:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_SetIconAsset:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_1515
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1495
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1497
	call	_brl_blitz_NullObjectError
_1497:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_1502
	push	eax
	call	_bbGCFree
	add	esp,4
_1502:
	mov	dword [esi+28],ebx
	push	_1503
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1505
	call	_brl_blitz_NullObjectError
_1505:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1508
	call	_brl_blitz_NullObjectError
_1508:
	mov	esi,dword [esi+28]
	cmp	esi,_bbNullObject
	jne	_1510
	call	_brl_blitz_NullObjectError
_1510:
	push	dword [esi+12]
	call	_maxgui_maxgui_LoadIconStrip
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_1514
	push	eax
	call	_bbGCFree
	add	esp,4
_1514:
	mov	dword [ebx+32],esi
	mov	ebx,0
	jmp	_428
_428:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_SetAll:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-28],eax
	push	ebp
	push	_1530
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1516
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1518
	call	_brl_blitz_NullObjectError
_1518:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	_1519
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1521
	call	_brl_blitz_NullObjectError
_1521:
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,20
	push	_1522
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1524
	call	_brl_blitz_NullObjectError
_1524:
	mov	ebx,dword [ebp-28]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1529
	push	eax
	call	_bbGCFree
	add	esp,4
_1529:
	mov	dword [esi+12],ebx
	mov	ebx,0
	jmp	_437
_437:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_SetTitle:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_1541
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1535
	call	_brl_blitz_NullObjectError
_1535:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_1540
	push	eax
	call	_bbGCFree
	add	esp,4
_1540:
	mov	dword [esi+20],ebx
	mov	ebx,0
	jmp	_441
_441:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1542
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_444
_444:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Widget_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	push	ebp
	push	_1543
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_450
_450:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_UIRect_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1548
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_UIRect
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],10
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],10
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],10
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],10
	push	ebp
	push	_1547
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_453
_453:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_UIRect_Delete:
	push	ebp
	mov	ebp,esp
_456:
	mov	eax,0
	jmp	_1549
_1549:
	mov	esp,ebp
	pop	ebp
	ret
__bb_UIRect_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	push	ebp
	push	_1566
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1550
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1552
	call	_brl_blitz_NullObjectError
_1552:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+8],eax
	push	_1554
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1556
	call	_brl_blitz_NullObjectError
_1556:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+12],eax
	push	_1558
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1560
	call	_brl_blitz_NullObjectError
_1560:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+16],eax
	push	_1562
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1564
	call	_brl_blitz_NullObjectError
_1564:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+20],eax
	mov	ebx,0
	jmp	_463
_463:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapEditor_Module_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1570
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Tab_Module_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MapEditor_Module
	push	ebp
	push	_1569
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_466
_466:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapEditor_Module_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_469:
	mov	dword [eax],_bb_Tab_Module
	push	eax
	call	__bb_Tab_Module_Delete
	add	esp,4
	mov	eax,0
	jmp	_1572
_1572:
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapEditor_Module_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_1647
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1573
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_1575
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_1577
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Asset_Widget
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_1579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Asset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_1581
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1583
	call	_brl_blitz_NullObjectError
_1583:
	push	_1
	push	_52
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	dword [ebp-16],eax
	push	_1584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1586
	call	_brl_blitz_NullObjectError
_1586:
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	push	_1587
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1589
	call	_brl_blitz_NullObjectError
_1589:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_1591
	call	_brl_blitz_NullObjectError
_1591:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1593
	call	_brl_blitz_NullObjectError
_1593:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1595
	call	_brl_blitz_NullObjectError
_1595:
	push	dword [ebx+12]
	push	dword [esi+12]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	mov	eax,dword [ebp-28]
	push	dword [eax+12]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	push	0
	push	_53
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+56]
	add	esp,28
	push	_1596
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1598
	call	_brl_blitz_NullObjectError
_1598:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	_1599
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1601
	call	_brl_blitz_ArrayBoundsError
_1601:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_1606
	push	eax
	call	_bbGCFree
	add	esp,4
_1606:
	mov	dword [esi+24],ebx
	push	_1607
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Mapeditor_Widget
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_1609
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Asset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-24],eax
	push	_1611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_1613
	call	_brl_blitz_NullObjectError
_1613:
	push	_1
	push	_54
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	dword [ebp-24],eax
	push	_1614
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1616
	call	_brl_blitz_NullObjectError
_1616:
	push	dword [ebp-24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	push	_1617
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	mov	dword [ebp-32],eax
	cmp	dword [ebp-32],_bbNullObject
	jne	_1619
	call	_brl_blitz_NullObjectError
_1619:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-36],eax
	cmp	dword [ebp-36],_bbNullObject
	jne	_1621
	call	_brl_blitz_NullObjectError
_1621:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1623
	call	_brl_blitz_NullObjectError
_1623:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1625
	call	_brl_blitz_NullObjectError
_1625:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1627
	call	_brl_blitz_NullObjectError
_1627:
	push	dword [ebx+12]
	push	dword [esi+12]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	push	dword [edi+12]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	imul	eax,3
	push	eax
	push	0
	mov	eax,dword [ebp-36]
	push	dword [eax+12]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	_53
	push	dword [ebp-32]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,28
	push	_1628
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1630
	call	_brl_blitz_NullObjectError
_1630:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	_1631
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1633
	call	_brl_blitz_ArrayBoundsError
_1633:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_1638
	push	eax
	call	_bbGCFree
	add	esp,4
_1638:
	mov	dword [esi+24],ebx
	push	_1639
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1641
	call	_brl_blitz_NullObjectError
_1641:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_1646
	push	eax
	call	_bbGCFree
	add	esp,4
_1646:
	mov	dword [esi+24],ebx
	mov	ebx,0
	jmp	_472
_472:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Mapeditor_Widget_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1659
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Widget_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Mapeditor_Widget
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],30
	push	ebp
	push	_1658
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_475
_475:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Mapeditor_Widget_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_478:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_1662
	push	eax
	call	_bbGCFree
	add	esp,4
_1662:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_1664
	push	eax
	call	_bbGCFree
	add	esp,4
_1664:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_1666
	push	eax
	call	_bbGCFree
	add	esp,4
_1666:
	mov	dword [ebx],_bb_Widget
	push	ebx
	call	__bb_Widget_Delete
	add	esp,4
	mov	eax,0
	jmp	_1660
_1660:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Mapeditor_Widget_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,ebp
	push	eax
	push	_1712
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1667
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,2049
	je	_1670
	cmp	eax,8194
	je	_1671
	cmp	eax,1027
	je	_1672
	cmp	eax,8193
	je	_1673
	jmp	_1669
_1670:
	mov	eax,ebp
	push	eax
	push	_1680
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1674
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1676
	call	_brl_blitz_NullObjectError
_1676:
	mov	esi,dword [ebx+24]
	mov	ebx,5
	cmp	ebx,dword [esi+20]
	jb	_1679
	call	_brl_blitz_ArrayBoundsError
_1679:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_RedrawGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1669
_1671:
	mov	eax,ebp
	push	eax
	push	_1699
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1683
	call	_brl_blitz_NullObjectError
_1683:
	mov	esi,dword [ebx+24]
	mov	ebx,5
	cmp	ebx,dword [esi+20]
	jb	_1686
	call	_brl_blitz_ArrayBoundsError
_1686:
	mov	eax,dword [esi+ebx*4+24]
	cmp	dword [ebp-12],eax
	jne	_1687
	mov	eax,ebp
	push	eax
	push	_1698
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1690
	call	_brl_blitz_NullObjectError
_1690:
	mov	esi,dword [ebx+24]
	mov	ebx,5
	cmp	ebx,dword [esi+20]
	jb	_1693
	call	_brl_blitz_ArrayBoundsError
_1693:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_CanvasGraphics
	add	esp,4
	push	eax
	call	_brl_graphics_SetGraphics
	add	esp,4
	push	_1694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_max2d_Cls
	push	_1695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	_1696
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1092616192
	push	1092616192
	push	_55
	call	_brl_max2d_DrawText
	add	esp,12
	push	_1697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_1687:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1669
_1672:
	mov	eax,ebp
	push	eax
	push	_1700
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1669
_1673:
	mov	eax,ebp
	push	eax
	push	_1711
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1706
	call	_brl_blitz_NullObjectError
_1706:
	mov	esi,dword [ebx+24]
	mov	ebx,3
	cmp	ebx,dword [esi+20]
	jb	_1709
	call	_brl_blitz_ArrayBoundsError
_1709:
	cmp	edi,dword [esi+ebx*4+24]
	je	_1704
	jmp	_1703
_1704:
	mov	eax,ebp
	push	eax
	push	_1710
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1703
_1703:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1669
_1669:
	mov	ebx,0
	jmp	_484
_484:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Mapeditor_Widget_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,84
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_1943
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1713
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_1714
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_1716
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1718
	call	_brl_blitz_NullObjectError
_1718:
	mov	dword [ebp-80],ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1721
	call	_brl_blitz_NullObjectError
_1721:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-76],eax
	cmp	dword [ebp-76],_bbNullObject
	jne	_1723
	call	_brl_blitz_NullObjectError
_1723:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1725
	call	_brl_blitz_NullObjectError
_1725:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-72],eax
	cmp	dword [ebp-72],_bbNullObject
	jne	_1727
	call	_brl_blitz_NullObjectError
_1727:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1729
	call	_brl_blitz_NullObjectError
_1729:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-56],eax
	cmp	dword [ebp-56],_bbNullObject
	jne	_1731
	call	_brl_blitz_NullObjectError
_1731:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1733
	call	_brl_blitz_NullObjectError
_1733:
	mov	edi,dword [ebx+16]
	cmp	edi,_bbNullObject
	jne	_1735
	call	_brl_blitz_NullObjectError
_1735:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1737
	call	_brl_blitz_NullObjectError
_1737:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1739
	call	_brl_blitz_NullObjectError
_1739:
	push	dword [ebx+20]
	push	3
	push	dword [esi+12]
	push	dword [edi+20]
	mov	eax,dword [ebp-56]
	push	dword [eax+16]
	mov	eax,dword [ebp-72]
	push	dword [eax+12]
	mov	eax,dword [ebp-76]
	push	dword [eax+8]
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-80]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_1743
	push	eax
	call	_bbGCFree
	add	esp,4
_1743:
	mov	eax,dword [ebp-80]
	mov	dword [eax+8],ebx
	push	_1744
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1746
	call	_brl_blitz_ArrayBoundsError
_1746:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-52],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1749
	call	_brl_blitz_NullObjectError
_1749:
	mov	edi,dword [ebx+28]
	cmp	edi,_bbNullObject
	jne	_1751
	call	_brl_blitz_NullObjectError
_1751:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1753
	call	_brl_blitz_NullObjectError
_1753:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1755
	call	_brl_blitz_NullObjectError
_1755:
	push	0
	push	dword [ebx+8]
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	push	dword [edi+12]
	call	_maxgui_maxgui_CreateToolbar
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1759
	push	eax
	call	_bbGCFree
	add	esp,4
_1759:
	mov	eax,dword [ebp-52]
	mov	dword [eax+24],ebx
	push	_1760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1762
	call	_brl_blitz_ArrayBoundsError
_1762:
	push	_bbNullObject
	push	_1
	push	-2
	push	0
	push	_1
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_1763
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1765
	call	_brl_blitz_ArrayBoundsError
_1765:
	push	_bbNullObject
	push	_57
	push	2
	push	2
	push	_56
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_1766
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1768
	call	_brl_blitz_ArrayBoundsError
_1768:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1771
	call	_brl_blitz_NullObjectError
_1771:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1773
	call	_brl_blitz_NullObjectError
_1773:
	push	16
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	push	0
	push	_58
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_1777
	push	eax
	call	_bbGCFree
	add	esp,4
_1777:
	mov	dword [edi+24],ebx
	push	_1778
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1780
	call	_brl_blitz_ArrayBoundsError
_1780:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-20],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1783
	call	_brl_blitz_NullObjectError
_1783:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1785
	call	_brl_blitz_NullObjectError
_1785:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1787
	call	_brl_blitz_NullObjectError
_1787:
	push	16
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	shl	eax,1
	push	eax
	push	_59
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1791
	push	eax
	call	_bbGCFree
	add	esp,4
_1791:
	mov	eax,dword [ebp-20]
	mov	dword [eax+24],ebx
	push	_1792
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1794
	call	_brl_blitz_ArrayBoundsError
_1794:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-24],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1797
	call	_brl_blitz_NullObjectError
_1797:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1799
	call	_brl_blitz_NullObjectError
_1799:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1801
	call	_brl_blitz_NullObjectError
_1801:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1805
	push	eax
	call	_bbGCFree
	add	esp,4
_1805:
	mov	eax,dword [ebp-24]
	mov	dword [eax+24],ebx
	push	_1806
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	eax,dword [_bb_TilesetList]
	mov	dword [ebp-16],eax
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1810
	call	_brl_blitz_NullObjectError
_1810:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_60
_62:
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_1815
	call	_brl_blitz_NullObjectError
_1815:
	push	_bb_Tileset
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_60
	mov	eax,ebp
	push	eax
	push	_1826
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1818
	call	_brl_blitz_NullObjectError
_1818:
	cmp	dword [ebx+20],3
	jne	_1819
	mov	eax,ebp
	push	eax
	push	_1825
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1820
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,3
	mov	eax,dword [ebp-8]
	cmp	esi,dword [eax+20]
	jb	_1822
	call	_brl_blitz_ArrayBoundsError
_1822:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1824
	call	_brl_blitz_NullObjectError
_1824:
	push	dword [ebp-12]
	push	_1
	push	-1
	push	0
	push	dword [ebx+28]
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	call	dword [_bbOnDebugLeaveScope]
_1819:
	call	dword [_bbOnDebugLeaveScope]
_60:
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_1813
	call	_brl_blitz_NullObjectError
_1813:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_62
_61:
	push	_1827
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1829
	call	_brl_blitz_ArrayBoundsError
_1829:
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_CountGadgetItems
	add	esp,4
	cmp	eax,0
	jle	_1830
	mov	eax,ebp
	push	eax
	push	_1834
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1831
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1833
	call	_brl_blitz_ArrayBoundsError
_1833:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_1830:
	push	_1835
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1837
	call	_brl_blitz_ArrayBoundsError
_1837:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-40],eax
	cmp	dword [ebp-40],_bbNullObject
	jne	_1840
	call	_brl_blitz_NullObjectError
_1840:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1842
	call	_brl_blitz_NullObjectError
_1842:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1844
	call	_brl_blitz_NullObjectError
_1844:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1846
	call	_brl_blitz_NullObjectError
_1846:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	mov	eax,dword [ebp-40]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,3
	add	ebx,eax
	sar	ebx,2
	shl	ebx,1
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	add	ebx,eax
	push	ebx
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1850
	push	eax
	call	_bbGCFree
	add	esp,4
_1850:
	mov	eax,dword [ebp-64]
	mov	dword [eax+24],ebx
	push	_1851
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,5
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1853
	call	_brl_blitz_ArrayBoundsError
_1853:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-28],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1856
	call	_brl_blitz_NullObjectError
_1856:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1858
	call	_brl_blitz_NullObjectError
_1858:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1860
	call	_brl_blitz_NullObjectError
_1860:
	push	0
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,60
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,30
	push	eax
	push	30
	push	0
	call	_maxgui_maxgui_CreateCanvas
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1864
	push	eax
	call	_bbGCFree
	add	esp,4
_1864:
	mov	eax,dword [ebp-28]
	mov	dword [eax+24],ebx
	push	_1865
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,6
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1867
	call	_brl_blitz_ArrayBoundsError
_1867:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-32],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1870
	call	_brl_blitz_NullObjectError
_1870:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1872
	call	_brl_blitz_NullObjectError
_1872:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1874
	call	_brl_blitz_NullObjectError
_1874:
	push	2
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,60
	push	eax
	push	30
	push	30
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,30
	push	eax
	call	_maxgui_maxgui_CreateSlider
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1878
	push	eax
	call	_bbGCFree
	add	esp,4
_1878:
	mov	eax,dword [ebp-32]
	mov	dword [eax+24],ebx
	push	_1879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1881
	call	_brl_blitz_ArrayBoundsError
_1881:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-60],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-44],eax
	cmp	dword [ebp-44],_bbNullObject
	jne	_1884
	call	_brl_blitz_NullObjectError
_1884:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1886
	call	_brl_blitz_NullObjectError
_1886:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1888
	call	_brl_blitz_NullObjectError
_1888:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1890
	call	_brl_blitz_NullObjectError
_1890:
	push	1
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,60
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,30
	push	eax
	mov	eax,dword [ebp-44]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,30
	push	eax
	push	0
	call	_maxgui_maxgui_CreateSlider
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1894
	push	eax
	call	_bbGCFree
	add	esp,4
_1894:
	mov	eax,dword [ebp-60]
	mov	dword [eax+24],ebx
	push	_1895
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,8
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1897
	call	_brl_blitz_ArrayBoundsError
_1897:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-36],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1900
	call	_brl_blitz_NullObjectError
_1900:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1902
	call	_brl_blitz_NullObjectError
_1902:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1904
	call	_brl_blitz_NullObjectError
_1904:
	push	16
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	shl	eax,1
	shl	eax,1
	push	eax
	push	_63
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1908
	push	eax
	call	_bbGCFree
	add	esp,4
_1908:
	mov	eax,dword [ebp-36]
	mov	dword [eax+24],ebx
	push	_1909
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,9
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_1911
	call	_brl_blitz_ArrayBoundsError
_1911:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-48],eax
	cmp	dword [ebp-48],_bbNullObject
	jne	_1914
	call	_brl_blitz_NullObjectError
_1914:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1916
	call	_brl_blitz_NullObjectError
_1916:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1918
	call	_brl_blitz_NullObjectError
_1918:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1920
	call	_brl_blitz_NullObjectError
_1920:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	mov	eax,dword [ebp-48]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,3
	add	ebx,eax
	sar	ebx,2
	shl	ebx,1
	shl	ebx,1
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	add	ebx,eax
	push	ebx
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_1924
	push	eax
	call	_bbGCFree
	add	esp,4
_1924:
	mov	eax,dword [ebp-68]
	mov	dword [eax+24],ebx
	push	_1925
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1927
	call	_brl_blitz_NullObjectError
_1927:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_1932
	push	eax
	call	_bbGCFree
	add	esp,4
_1932:
	mov	dword [esi+24],ebx
	push	_1933
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1935
	call	_brl_blitz_NullObjectError
_1935:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1938
	call	_brl_blitz_NullObjectError
_1938:
	push	_bbNullObject
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-84],eax
	fild	dword [ebp+-84]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_timer_CreateTimer
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_1942
	push	eax
	call	_bbGCFree
	add	esp,4
_1942:
	mov	dword [esi+44],ebx
	mov	ebx,0
	jmp	_487
_487:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Widget_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1947
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Widget_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Asset_Widget
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+36],eax
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+40],eax
	push	ebp
	push	_1946
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_490
_490:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Widget_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_493:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_1950
	push	eax
	call	_bbGCFree
	add	esp,4
_1950:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_1952
	push	eax
	call	_bbGCFree
	add	esp,4
_1952:
	mov	dword [ebx],_bb_Widget
	push	ebx
	call	__bb_Widget_Delete
	add	esp,4
	mov	eax,0
	jmp	_1948
_1948:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Widget_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],_bbNullObject
	mov	dword [ebp-36],_bbNullObject
	mov	dword [ebp-40],_bbNullObject
	mov	dword [ebp-44],_bbNullObject
	mov	dword [ebp-48],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2248
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1953
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_1955
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	push	_1957
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	push	_1959
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_bbNullObject
	push	_1961
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],_bbNullObject
	push	_1963
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8193
	je	_1966
	jmp	_1965
_1966:
	mov	eax,ebp
	push	eax
	push	_2209
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1967
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1972
	call	_brl_blitz_NullObjectError
_1972:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_1975
	call	_brl_blitz_ArrayBoundsError
_1975:
	cmp	edi,dword [esi+ebx*4+24]
	je	_1970
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1978
	call	_brl_blitz_NullObjectError
_1978:
	mov	esi,dword [ebx+24]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_1981
	call	_brl_blitz_ArrayBoundsError
_1981:
	cmp	edi,dword [esi+ebx*4+24]
	je	_1976
	jmp	_1969
_1970:
	mov	eax,ebp
	push	eax
	push	_2037
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1982
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_64
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1983
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1985
	call	_brl_blitz_NullObjectError
_1985:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_1988
	call	_brl_blitz_ArrayBoundsError
_1988:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	mov	dword [ebp-36],eax
	push	_1989
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-36],_bbNullObject
	je	_1990
	mov	eax,ebp
	push	eax
	push	_2036
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1991
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_65
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1992
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Asset
	push	dword [ebp-36]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-20],eax
	push	_1993
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	je	_1994
	mov	eax,ebp
	push	eax
	push	_2035
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1995
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_66
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1996
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_1998
	call	_brl_blitz_NullObjectError
_1998:
	mov	eax,dword [ebx+20]
	cmp	eax,3
	je	_2001
	jmp	_2000
_2001:
	mov	eax,ebp
	push	eax
	push	_2034
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2002
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_TilesetWindow
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_2003
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_2005
	call	_brl_blitz_NullObjectError
_2005:
	mov	ebx,dword [ebp-36]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_2010
	push	eax
	call	_bbGCFree
	add	esp,4
_2010:
	mov	dword [esi+32],ebx
	push	_2011
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_2013
	call	_brl_blitz_NullObjectError
_2013:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2015
	call	_brl_blitz_NullObjectError
_2015:
	push	dword [ebx+40]
	push	300
	push	300
	push	0
	push	0
	push	_67
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_2016
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_2018
	call	_brl_blitz_NullObjectError
_2018:
	push	_bb_Tileset
	push	dword [ebp-20]
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_2023
	push	eax
	call	_bbGCFree
	add	esp,4
_2023:
	mov	dword [esi+40],ebx
	push	_2024
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2026
	call	_brl_blitz_NullObjectError
_2026:
	mov	byte [ebx+36],1
	push	_2028
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2030
	call	_brl_blitz_NullObjectError
_2030:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_2031
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2033
	call	_brl_blitz_NullObjectError
_2033:
	push	dword [ebp-28]
	push	dword [ebx+40]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2000
_2000:
	call	dword [_bbOnDebugLeaveScope]
_1994:
	call	dword [_bbOnDebugLeaveScope]
_1990:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1969
_1976:
	mov	eax,ebp
	push	eax
	push	_2208
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2038
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2040
	call	_brl_blitz_NullObjectError
_2040:
	mov	esi,dword [ebx+24]
	mov	ebx,4
	cmp	ebx,dword [esi+20]
	jb	_2043
	call	_brl_blitz_ArrayBoundsError
_2043:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	cmp	eax,5
	je	_2046
	cmp	eax,3
	je	_2047
	jmp	_2045
_2046:
	mov	eax,ebp
	push	eax
	push	_2127
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2048
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapWindow
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-32],eax
	push	_2049
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2051
	call	_brl_blitz_NullObjectError
_2051:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2054
	call	_brl_blitz_ArrayBoundsError
_2054:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	cmp	eax,_bbNullObject
	jne	_2055
	mov	eax,ebp
	push	eax
	push	_2080
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2056
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_2058
	call	_brl_blitz_NullObjectError
_2058:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2061
	call	_brl_blitz_NullObjectError
_2061:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2064
	call	_brl_blitz_ArrayBoundsError
_2064:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TreeViewRoot
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_2068
	push	eax
	call	_bbGCFree
	add	esp,4
_2068:
	mov	dword [edi+32],ebx
	push	_2069
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-32]
	cmp	esi,_bbNullObject
	jne	_2071
	call	_brl_blitz_NullObjectError
_2071:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2073
	call	_brl_blitz_NullObjectError
_2073:
	push	dword [ebx+40]
	push	300
	push	300
	push	0
	push	0
	push	_68
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_2074
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_2076
	call	_brl_blitz_NullObjectError
_2076:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_2077
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2079
	call	_brl_blitz_NullObjectError
_2079:
	push	dword [ebp-32]
	push	dword [ebx+40]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2081
_2055:
	mov	eax,ebp
	push	eax
	push	_2126
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2082
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2084
	call	_brl_blitz_NullObjectError
_2084:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2087
	call	_brl_blitz_ArrayBoundsError
_2087:
	push	_bb_Asset
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	push	eax
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-24],eax
	push	_2088
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-24],_bbNullObject
	jne	_2089
	mov	eax,ebp
	push	eax
	push	_2091
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2090
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_69
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2092
_2089:
	mov	eax,ebp
	push	eax
	push	_2125
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_2095
	call	_brl_blitz_NullObjectError
_2095:
	cmp	dword [ebx+20],0
	jne	_2096
	mov	eax,ebp
	push	eax
	push	_2121
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-32]
	cmp	esi,_bbNullObject
	jne	_2099
	call	_brl_blitz_NullObjectError
_2099:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2101
	call	_brl_blitz_NullObjectError
_2101:
	push	dword [ebx+40]
	push	300
	push	300
	push	0
	push	0
	push	_68
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_2102
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_2104
	call	_brl_blitz_NullObjectError
_2104:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_2105
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_2107
	call	_brl_blitz_NullObjectError
_2107:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2110
	call	_brl_blitz_NullObjectError
_2110:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2113
	call	_brl_blitz_ArrayBoundsError
_2113:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_2117
	push	eax
	call	_bbGCFree
	add	esp,4
_2117:
	mov	dword [edi+32],ebx
	push	_2118
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2120
	call	_brl_blitz_NullObjectError
_2120:
	push	dword [ebp-32]
	push	dword [ebx+40]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2122
_2096:
	mov	eax,ebp
	push	eax
	push	_2124
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2123
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_70
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2122:
	call	dword [_bbOnDebugLeaveScope]
_2092:
	call	dword [_bbOnDebugLeaveScope]
_2081:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2045
_2047:
	mov	eax,ebp
	push	eax
	push	_2207
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2128
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_TilesetWindow
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_2129
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2131
	call	_brl_blitz_NullObjectError
_2131:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2134
	call	_brl_blitz_ArrayBoundsError
_2134:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	cmp	eax,_bbNullObject
	jne	_2135
	mov	eax,ebp
	push	eax
	push	_2160
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2136
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2138
	call	_brl_blitz_NullObjectError
_2138:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2141
	call	_brl_blitz_NullObjectError
_2141:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2144
	call	_brl_blitz_ArrayBoundsError
_2144:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TreeViewRoot
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_2148
	push	eax
	call	_bbGCFree
	add	esp,4
_2148:
	mov	dword [edi+32],ebx
	push	_2149
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_2151
	call	_brl_blitz_NullObjectError
_2151:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2153
	call	_brl_blitz_NullObjectError
_2153:
	push	dword [ebx+40]
	push	300
	push	300
	push	0
	push	0
	push	_71
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_2154
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2156
	call	_brl_blitz_NullObjectError
_2156:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_2157
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2159
	call	_brl_blitz_NullObjectError
_2159:
	push	dword [ebp-28]
	push	dword [ebx+40]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2161
_2135:
	mov	eax,ebp
	push	eax
	push	_2206
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2162
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2164
	call	_brl_blitz_NullObjectError
_2164:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2167
	call	_brl_blitz_ArrayBoundsError
_2167:
	push	_bb_Asset
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	push	eax
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-24],eax
	push	_2168
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-24],_bbNullObject
	jne	_2169
	mov	eax,ebp
	push	eax
	push	_2171
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2170
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_69
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2172
_2169:
	mov	eax,ebp
	push	eax
	push	_2205
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2173
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_2175
	call	_brl_blitz_NullObjectError
_2175:
	cmp	dword [ebx+20],0
	jne	_2176
	mov	eax,ebp
	push	eax
	push	_2201
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2177
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	cmp	esi,_bbNullObject
	jne	_2179
	call	_brl_blitz_NullObjectError
_2179:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2181
	call	_brl_blitz_NullObjectError
_2181:
	push	dword [ebx+40]
	push	300
	push	300
	push	0
	push	0
	push	_71
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_2182
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2184
	call	_brl_blitz_NullObjectError
_2184:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_2185
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2187
	call	_brl_blitz_NullObjectError
_2187:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2190
	call	_brl_blitz_NullObjectError
_2190:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_2193
	call	_brl_blitz_ArrayBoundsError
_2193:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+32]
	dec	dword [eax+4]
	jnz	_2197
	push	eax
	call	_bbGCFree
	add	esp,4
_2197:
	mov	dword [edi+32],ebx
	push	_2198
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2200
	call	_brl_blitz_NullObjectError
_2200:
	push	dword [ebp-28]
	push	dword [ebx+40]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2202
_2176:
	mov	eax,ebp
	push	eax
	push	_2204
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2203
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_70
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2202:
	call	dword [_bbOnDebugLeaveScope]
_2172:
	call	dword [_bbOnDebugLeaveScope]
_2161:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2045
_2045:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1969
_1969:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1965
_1965:
	push	_2210
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2213
	call	_brl_blitz_NullObjectError
_2213:
	mov	edi,dword [ebx+40]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_2216
	call	_brl_blitz_NullObjectError
_2216:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_72
_74:
	cmp	ebx,_bbNullObject
	jne	_2221
	call	_brl_blitz_NullObjectError
_2221:
	push	_bb_ToolWindow
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-40],eax
	cmp	dword [ebp-40],_bbNullObject
	je	_72
	mov	eax,ebp
	push	eax
	push	_2245
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2222
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-40]
	cmp	esi,_bbNullObject
	jne	_2224
	call	_brl_blitz_NullObjectError
_2224:
	mov	eax,dword [esi+24]
	cmp	eax,1
	je	_2227
	cmp	eax,2
	je	_2228
	jmp	_2226
_2227:
	mov	eax,ebp
	push	eax
	push	_2234
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2229
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_TilesetWindow
	push	dword [ebp-40]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-44],eax
	push	_2231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-44]
	cmp	esi,_bbNullObject
	jne	_2233
	call	_brl_blitz_NullObjectError
_2233:
	push	_bbNullObject
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2226
_2228:
	mov	eax,ebp
	push	eax
	push	_2242
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2237
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapWindow
	push	dword [ebp-40]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-48],eax
	push	_2239
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_2241
	call	_brl_blitz_NullObjectError
_2241:
	push	_bbNullObject
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2226
_2226:
	call	dword [_bbOnDebugLeaveScope]
_72:
	cmp	ebx,_bbNullObject
	jne	_2219
	call	_brl_blitz_NullObjectError
_2219:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_74
_73:
	mov	ebx,0
	jmp	_499
_499:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Widget_Add_Tileset:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	push	ebp
	push	_2265
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2255
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2257
	call	_brl_blitz_NullObjectError
_2257:
	mov	esi,dword [ebx+24]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_2260
	call	_brl_blitz_ArrayBoundsError
_2260:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedTreeViewNode
	add	esp,4
	mov	dword [ebp-8],eax
	push	_2262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],_bbNullObject
	je	_2263
	push	ebp
	push	_2264
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2263:
	mov	ebx,0
	jmp	_502
_502:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Widget_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_2425
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2267
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	5
	push	_2268
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_2270
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2272
	call	_brl_blitz_NullObjectError
_2272:
	mov	dword [ebp-52],ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2275
	call	_brl_blitz_NullObjectError
_2275:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-48],eax
	cmp	dword [ebp-48],_bbNullObject
	jne	_2277
	call	_brl_blitz_NullObjectError
_2277:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2279
	call	_brl_blitz_NullObjectError
_2279:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-44],eax
	cmp	dword [ebp-44],_bbNullObject
	jne	_2281
	call	_brl_blitz_NullObjectError
_2281:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2283
	call	_brl_blitz_NullObjectError
_2283:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-32],eax
	cmp	dword [ebp-32],_bbNullObject
	jne	_2285
	call	_brl_blitz_NullObjectError
_2285:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2287
	call	_brl_blitz_NullObjectError
_2287:
	mov	edi,dword [ebx+16]
	cmp	edi,_bbNullObject
	jne	_2289
	call	_brl_blitz_NullObjectError
_2289:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2291
	call	_brl_blitz_NullObjectError
_2291:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2293
	call	_brl_blitz_NullObjectError
_2293:
	push	dword [ebx+20]
	push	3
	push	dword [esi+12]
	push	dword [edi+20]
	mov	eax,dword [ebp-32]
	push	dword [eax+16]
	mov	eax,dword [ebp-44]
	push	dword [eax+12]
	mov	eax,dword [ebp-48]
	push	dword [eax+8]
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_2297
	push	eax
	call	_bbGCFree
	add	esp,4
_2297:
	mov	eax,dword [ebp-52]
	mov	dword [eax+8],ebx
	push	_2298
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2300
	call	_brl_blitz_ArrayBoundsError
_2300:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-12],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2303
	call	_brl_blitz_NullObjectError
_2303:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2305
	call	_brl_blitz_NullObjectError
_2305:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2307
	call	_brl_blitz_NullObjectError
_2307:
	push	0
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,50
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	call	_maxgui_maxgui_CreateTreeView
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2311
	push	eax
	call	_bbGCFree
	add	esp,4
_2311:
	mov	eax,dword [ebp-12]
	mov	dword [eax+24],ebx
	push	_2312
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2314
	call	_brl_blitz_NullObjectError
_2314:
	cmp	dword [ebx+32],_bbNullObject
	je	_2315
	mov	eax,ebp
	push	eax
	push	_2321
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2316
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2318
	call	_brl_blitz_ArrayBoundsError
_2318:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2320
	call	_brl_blitz_NullObjectError
_2320:
	push	dword [esi+32]
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetIconStrip
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2315:
	push	_2322
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2324
	call	_brl_blitz_NullObjectError
_2324:
	mov	esi,0
	mov	eax,dword [ebp-8]
	cmp	esi,dword [eax+20]
	jb	_2326
	call	_brl_blitz_ArrayBoundsError
_2326:
	push	_1
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	call	_maxgui_maxgui_TreeViewRoot
	add	esp,4
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,12
	push	_2327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2329
	call	_brl_blitz_ArrayBoundsError
_2329:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-16],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2332
	call	_brl_blitz_NullObjectError
_2332:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2334
	call	_brl_blitz_NullObjectError
_2334:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2336
	call	_brl_blitz_NullObjectError
_2336:
	push	8
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,50
	push	eax
	push	0
	push	_75
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2340
	push	eax
	call	_bbGCFree
	add	esp,4
_2340:
	mov	eax,dword [ebp-16]
	mov	dword [eax+24],ebx
	push	_2341
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2343
	call	_brl_blitz_ArrayBoundsError
_2343:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	jne	_2346
	call	_brl_blitz_NullObjectError
_2346:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2348
	call	_brl_blitz_NullObjectError
_2348:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2350
	call	_brl_blitz_NullObjectError
_2350:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2352
	call	_brl_blitz_NullObjectError
_2352:
	push	8
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,50
	push	eax
	mov	eax,dword [ebp-24]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	_76
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2356
	push	eax
	call	_bbGCFree
	add	esp,4
_2356:
	mov	eax,dword [ebp-36]
	mov	dword [eax+24],ebx
	push	_2357
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2359
	call	_brl_blitz_ArrayBoundsError
_2359:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-20],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2362
	call	_brl_blitz_NullObjectError
_2362:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2364
	call	_brl_blitz_NullObjectError
_2364:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2366
	call	_brl_blitz_NullObjectError
_2366:
	push	8
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,30
	push	eax
	push	0
	push	_77
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2370
	push	eax
	call	_bbGCFree
	add	esp,4
_2370:
	mov	eax,dword [ebp-20]
	mov	dword [eax+24],ebx
	push	_2371
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2373
	call	_brl_blitz_ArrayBoundsError
_2373:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_2376
	call	_brl_blitz_NullObjectError
_2376:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2378
	call	_brl_blitz_NullObjectError
_2378:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2380
	call	_brl_blitz_NullObjectError
_2380:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2382
	call	_brl_blitz_NullObjectError
_2382:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	sub	eax,30
	push	eax
	mov	eax,dword [ebp-28]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2386
	push	eax
	call	_bbGCFree
	add	esp,4
_2386:
	mov	eax,dword [ebp-40]
	mov	dword [eax+24],ebx
	push	_2387
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2389
	call	_brl_blitz_ArrayBoundsError
_2389:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_78
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2390
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2392
	call	_brl_blitz_ArrayBoundsError
_2392:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_79
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2393
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2395
	call	_brl_blitz_ArrayBoundsError
_2395:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_80
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2396
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2398
	call	_brl_blitz_ArrayBoundsError
_2398:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_27
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2401
	call	_brl_blitz_ArrayBoundsError
_2401:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_81
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2402
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2404
	call	_brl_blitz_ArrayBoundsError
_2404:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_55
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2405
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2407
	call	_brl_blitz_ArrayBoundsError
_2407:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_82
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2408
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2410
	call	_brl_blitz_ArrayBoundsError
_2410:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_83
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2411
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2413
	call	_brl_blitz_ArrayBoundsError
_2413:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_84
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2414
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2416
	call	_brl_blitz_ArrayBoundsError
_2416:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	push	_2417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2419
	call	_brl_blitz_NullObjectError
_2419:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_2424
	push	eax
	call	_bbGCFree
	add	esp,4
_2424:
	mov	dword [esi+24],ebx
	mov	ebx,0
	jmp	_505
_505:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Asset_Widget_LoadAssets:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbEmptyString
	mov	dword [ebp-28],0
	mov	dword [ebp-32],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2562
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2426
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbNullObject
	push	_2428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_2430
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbEmptyString
	push	_2432
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2433
	mov	eax,ebp
	push	eax
	push	_2435
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-12],eax
	call	dword [_bbOnDebugLeaveScope]
_2433:
	push	_2436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_ReadDir
	add	esp,4
	mov	dword [ebp-28],eax
	push	_2438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_87:
_85:
	mov	eax,ebp
	push	eax
	push	_2560
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2439
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_filesystem_NextFile
	add	esp,4
	mov	dword [ebp-24],eax
	push	_2440
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2441
	mov	eax,ebp
	push	eax
	push	_2443
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_86
_2441:
	push	_2444
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_88
	push	dword [ebp-24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_2445
	push	_89
	push	dword [ebp-24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_2445:
	cmp	eax,0
	jne	_2447
	push	_90
	push	dword [ebp-24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_2447:
	cmp	eax,0
	je	_2449
	mov	eax,ebp
	push	eax
	push	_2451
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2450
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_85
_2449:
	push	_2452
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	je	_2455
	cmp	eax,2
	je	_2456
	jmp	_2454
_2455:
	mov	eax,ebp
	push	eax
	push	_2530
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2457
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_ExtractExt
	add	esp,4
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	mov	ebx,eax
	push	_41
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_2460
	push	_50
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_2461
	jmp	_2459
_2460:
	mov	eax,ebp
	push	eax
	push	_2495
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2462
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Tileset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_2463
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-12]
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	_91
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2464
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2466
	call	_brl_blitz_NullObjectError
_2466:
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-12]
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	dword [ebp-20],eax
	push	_2467
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	jne	_2468
	mov	eax,ebp
	push	eax
	push	_2471
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2469
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	_92
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_system_Notify
	add	esp,8
	push	_2470
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_85
_2468:
	mov	eax,ebp
	push	eax
	push	_2494
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2473
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2475
	call	_brl_blitz_NullObjectError
_2475:
	push	_bb_Asset
	push	dword [ebp-8]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2480
	push	eax
	call	_bbGCFree
	add	esp,4
_2480:
	mov	dword [ebx+16],esi
	push	_2481
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-20]
	cmp	edi,_bbNullObject
	jne	_2483
	call	_brl_blitz_NullObjectError
_2483:
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_2485
	call	_brl_blitz_NullObjectError
_2485:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2487
	call	_brl_blitz_NullObjectError
_2487:
	push	dword [ebp-20]
	push	dword [ebx+20]
	push	dword [ebp-8]
	push	_1
	push	dword [esi+28]
	call	_brl_filesystem_ExtractExt
	add	esp,4
	push	eax
	push	_88
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [edi+28]
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	call	_maxgui_maxgui_AddTreeViewNode
	add	esp,16
	mov	dword [ebp-16],eax
	push	_2488
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2490
	call	_brl_blitz_NullObjectError
_2490:
	push	dword [ebp-16]
	push	dword [ebx+36]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_2491
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2493
	call	_brl_blitz_NullObjectError
_2493:
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2472:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2459
_2461:
	mov	eax,ebp
	push	eax
	push	_2529
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2496
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Map
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_2497
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-12]
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	_93
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2500
	call	_brl_blitz_NullObjectError
_2500:
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-12]
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	dword [ebp-20],eax
	push	_2501
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	jne	_2502
	mov	eax,ebp
	push	eax
	push	_2505
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2503
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	_92
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_system_Notify
	add	esp,8
	push	_2504
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_85
_2502:
	mov	eax,ebp
	push	eax
	push	_2528
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2507
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2509
	call	_brl_blitz_NullObjectError
_2509:
	push	_bb_Asset
	push	dword [ebp-8]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2514
	push	eax
	call	_bbGCFree
	add	esp,4
_2514:
	mov	dword [ebx+16],esi
	push	_2515
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-20]
	cmp	edi,_bbNullObject
	jne	_2517
	call	_brl_blitz_NullObjectError
_2517:
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_2519
	call	_brl_blitz_NullObjectError
_2519:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2521
	call	_brl_blitz_NullObjectError
_2521:
	push	dword [ebp-20]
	push	dword [ebx+20]
	push	dword [ebp-8]
	push	_1
	push	dword [esi+28]
	call	_brl_filesystem_ExtractExt
	add	esp,4
	push	eax
	push	_88
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [edi+28]
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	call	_maxgui_maxgui_AddTreeViewNode
	add	esp,16
	mov	dword [ebp-16],eax
	push	_2522
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2524
	call	_brl_blitz_NullObjectError
_2524:
	push	dword [ebp-16]
	push	dword [ebx+36]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_2525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2527
	call	_brl_blitz_NullObjectError
_2527:
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_2506:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2459
_2459:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2454
_2456:
	mov	eax,ebp
	push	eax
	push	_2558
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2531
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Asset
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-32],eax
	push	_2533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-32]
	cmp	esi,_bbNullObject
	jne	_2535
	call	_brl_blitz_NullObjectError
_2535:
	mov	ebx,dword [ebp-24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_2540
	push	eax
	call	_bbGCFree
	add	esp,4
_2540:
	mov	dword [esi+28],ebx
	push	_2541
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_2543
	call	_brl_blitz_NullObjectError
_2543:
	push	_1
	push	dword [_bb_CurrentProject]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2548
	push	eax
	call	_bbGCFree
	add	esp,4
_2548:
	mov	dword [ebx+24],esi
	push	_2549
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_2551
	call	_brl_blitz_NullObjectError
_2551:
	push	dword [ebp-32]
	push	0
	push	dword [ebp-8]
	push	dword [ebx+28]
	call	_maxgui_maxgui_AddTreeViewNode
	add	esp,16
	mov	dword [ebp-16],eax
	push	_2552
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2554
	call	_brl_blitz_NullObjectError
_2554:
	push	dword [ebp-16]
	push	dword [ebx+36]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_2555
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2557
	call	_brl_blitz_NullObjectError
_2557:
	push	dword [ebp-24]
	push	_38
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2454
_2454:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_87
_86:
	push	_2561
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	jmp	_510
_510:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tab_Module_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2572
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Tab_Module
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	eax,dword [ebp-4]
	mov	byte [eax+20],0
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	push	ebp
	push	_2571
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_513
_513:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tab_Module_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_516:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2576
	push	eax
	call	_bbGCFree
	add	esp,4
_2576:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2578
	push	eax
	call	_bbGCFree
	add	esp,4
_2578:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2580
	push	eax
	call	_bbGCFree
	add	esp,4
_2580:
	mov	eax,0
	jmp	_2574
_2574:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tab_Module_AddModule:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	movzx	eax,byte [ebp+16]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	dword [ebp-16],_bbNullObject
	push	ebp
	push	_2601
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2581
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbNullObject
	push	_2584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	3
	push	dword [ebp-12]
	push	dword [ebp-12]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	push	dword [ebp-12]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	dword [ebp-16],eax
	push	_2585
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	1
	push	1
	push	1
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetGadgetLayout
	add	esp,20
	push	_2586
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_2587
	push	ebp
	push	_2589
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2588
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_maxgui_maxgui_ShowGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2590
_2587:
	push	ebp
	push	_2592
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2591
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_maxgui_maxgui_HideGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2590:
	push	_2593
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_2595
	call	_brl_blitz_NullObjectError
_2595:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2600
	push	eax
	call	_bbGCFree
	add	esp,4
_2600:
	mov	dword [esi+12],ebx
	mov	ebx,0
	jmp	_521
_521:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tab_Module_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2604
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_524
_524:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Tab_Module_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],0
	mov	eax,ebp
	push	eax
	push	_2628
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2608
	call	_brl_blitz_NullObjectError
_2608:
	mov	eax,dword [ebx+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_2609
_96:
	mov	eax,ebp
	push	eax
	push	_2627
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2613
	call	_brl_blitz_NullObjectError
_2613:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_2616
	call	_brl_blitz_ArrayBoundsError
_2616:
	cmp	dword [esi+ebx*4+24],_bbNullObject
	je	_2617
	mov	eax,ebp
	push	eax
	push	_2626
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2618
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2620
	call	_brl_blitz_NullObjectError
_2620:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_2623
	call	_brl_blitz_ArrayBoundsError
_2623:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_2625
	call	_brl_blitz_NullObjectError
_2625:
	push	_bbNullObject
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_2617:
	call	dword [_bbOnDebugLeaveScope]
_94:
	add	dword [ebp-20],1
_2609:
	cmp	dword [ebp-20],edi
	jle	_96
_95:
	mov	ebx,0
	jmp	_530
_530:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetWindow_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2636
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_ToolWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TilesetWindow
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	push	ebp
	push	_2635
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2633
	call	_brl_blitz_NullObjectError
_2633:
	mov	dword [ebx+24],1
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_533
_533:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetWindow_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_536:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_2639
	push	eax
	call	_bbGCFree
	add	esp,4
_2639:
	mov	dword [ebx],_bb_ToolWindow
	push	ebx
	call	__bb_ToolWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_2637
_2637:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetWindow_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbEmptyString
	mov	dword [ebp-24],_bbEmptyString
	mov	dword [ebp-28],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2897
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,16387
	je	_2643
	cmp	eax,8193
	je	_2644
	jmp	_2642
_2643:
	mov	eax,ebp
	push	eax
	push	_2656
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2645
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2647
	call	_brl_blitz_NullObjectError
_2647:
	mov	eax,dword [ebx+8]
	cmp	dword [ebp-12],eax
	jne	_2648
	mov	eax,ebp
	push	eax
	push	_2655
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2649
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2651
	call	_brl_blitz_NullObjectError
_2651:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_2652
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2654
	call	_brl_blitz_NullObjectError
_2654:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2648:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2642
_2644:
	mov	eax,ebp
	push	eax
	push	_2895
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2657
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2662
	call	_brl_blitz_NullObjectError
_2662:
	mov	esi,dword [ebx+20]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2665
	call	_brl_blitz_ArrayBoundsError
_2665:
	cmp	edi,dword [esi+ebx*4+24]
	je	_2660
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2668
	call	_brl_blitz_NullObjectError
_2668:
	mov	esi,dword [ebx+20]
	mov	ebx,11
	cmp	ebx,dword [esi+20]
	jb	_2671
	call	_brl_blitz_ArrayBoundsError
_2671:
	cmp	edi,dword [esi+ebx*4+24]
	je	_2666
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2674
	call	_brl_blitz_NullObjectError
_2674:
	mov	esi,dword [ebx+20]
	mov	ebx,12
	cmp	ebx,dword [esi+20]
	jb	_2677
	call	_brl_blitz_ArrayBoundsError
_2677:
	cmp	edi,dword [esi+ebx*4+24]
	je	_2672
	jmp	_2659
_2660:
	mov	eax,ebp
	push	eax
	push	_2742
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2678
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_97
	push	_2680
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	0
	push	dword [ebp-20]
	push	_98
	call	_brl_system_RequestFile
	add	esp,16
	mov	dword [ebp-24],eax
	push	_2682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_2683
	mov	eax,ebp
	push	eax
	push	_2741
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2686
	call	_brl_blitz_NullObjectError
_2686:
	cmp	dword [ebx+40],_bbNullObject
	jne	_2687
	mov	eax,ebp
	push	eax
	push	_2696
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2690
	call	_brl_blitz_NullObjectError
_2690:
	push	_bb_Tileset
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_2695
	push	eax
	call	_bbGCFree
	add	esp,4
_2695:
	mov	dword [esi+40],ebx
	call	dword [_bbOnDebugLeaveScope]
_2687:
	push	_2697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2699
	call	_brl_blitz_NullObjectError
_2699:
	mov	esi,dword [ebx+40]
	cmp	esi,_bbNullObject
	jne	_2701
	call	_brl_blitz_NullObjectError
_2701:
	mov	ebx,dword [ebp-24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2706
	push	eax
	call	_bbGCFree
	add	esp,4
_2706:
	mov	dword [esi+8],ebx
	push	_2707
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2709
	call	_brl_blitz_NullObjectError
_2709:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2711
	call	_brl_blitz_NullObjectError
_2711:
	push	_1
	push	_39
	push	_38
	push	dword [ebp-24]
	call	_brl_filesystem_ExtractDir
	add	esp,4
	push	eax
	call	_brl_retro_Replace
	add	esp,12
	push	eax
	push	dword [ebp-24]
	call	_brl_retro_Replace
	add	esp,12
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2716
	push	eax
	call	_bbGCFree
	add	esp,4
_2716:
	mov	dword [ebx+28],esi
	push	_2717
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2719
	call	_brl_blitz_NullObjectError
_2719:
	mov	esi,dword [ebx+40]
	cmp	esi,_bbNullObject
	jne	_2721
	call	_brl_blitz_NullObjectError
_2721:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2724
	call	_brl_blitz_NullObjectError
_2724:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2726
	call	_brl_blitz_NullObjectError
_2726:
	push	dword [ebx+8]
	call	_brl_bank_LoadBank
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2730
	push	eax
	call	_bbGCFree
	add	esp,4
_2730:
	mov	dword [esi+12],ebx
	push	_2731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2733
	call	_brl_blitz_NullObjectError
_2733:
	mov	ebx,dword [ebx+20]
	mov	edi,1
	cmp	edi,dword [ebx+20]
	jb	_2736
	call	_brl_blitz_ArrayBoundsError
_2736:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2738
	call	_brl_blitz_NullObjectError
_2738:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_2740
	call	_brl_blitz_NullObjectError
_2740:
	push	dword [esi+28]
	push	dword [ebx+edi*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2683:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2659
_2666:
	mov	eax,ebp
	push	eax
	push	_2887
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2745
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2747
	call	_brl_blitz_NullObjectError
_2747:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2749
	call	_brl_blitz_NullObjectError
_2749:
	cmp	dword [ebx+12],_bbNullObject
	jne	_2750
	mov	eax,ebp
	push	eax
	push	_2752
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2751
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_99
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2753
_2750:
	mov	eax,ebp
	push	eax
	push	_2886
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2754
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2756
	call	_brl_blitz_NullObjectError
_2756:
	mov	eax,dword [ebx+40]
	mov	dword [ebp-48],eax
	cmp	dword [ebp-48],_bbNullObject
	jne	_2758
	call	_brl_blitz_NullObjectError
_2758:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2760
	call	_brl_blitz_NullObjectError
_2760:
	mov	eax,dword [ebx+40]
	mov	dword [ebp-52],eax
	cmp	dword [ebp-52],_bbNullObject
	jne	_2762
	call	_brl_blitz_NullObjectError
_2762:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2764
	call	_brl_blitz_NullObjectError
_2764:
	mov	eax,dword [ebx+20]
	mov	dword [ebp-40],eax
	mov	dword [ebp-44],8
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-44],eax
	jb	_2767
	call	_brl_blitz_ArrayBoundsError
_2767:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2769
	call	_brl_blitz_NullObjectError
_2769:
	mov	eax,dword [ebx+20]
	mov	dword [ebp-36],eax
	mov	dword [ebp-32],4
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-32],eax
	jb	_2772
	call	_brl_blitz_ArrayBoundsError
_2772:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2774
	call	_brl_blitz_NullObjectError
_2774:
	mov	ebx,dword [ebx+20]
	mov	edi,6
	cmp	edi,dword [ebx+20]
	jb	_2777
	call	_brl_blitz_ArrayBoundsError
_2777:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2779
	call	_brl_blitz_NullObjectError
_2779:
	push	dword [esi+32]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2781
	call	_brl_blitz_NullObjectError
_2781:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+24]
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	or	eax,8
	push	eax
	push	dword [ebx+edi*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	mov	edx,dword [ebp-32]
	mov	eax,dword [ebp-36]
	push	dword [eax+edx*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	mov	edx,dword [ebp-40]
	mov	eax,dword [ebp-44]
	push	dword [edx+eax*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	mov	eax,dword [ebp-52]
	push	dword [eax+12]
	push	dword [ebp-48]
	mov	eax,dword [ebp-48]
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,24
	push	_2782
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2784
	call	_brl_blitz_NullObjectError
_2784:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2786
	call	_brl_blitz_NullObjectError
_2786:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2789
	call	_brl_blitz_NullObjectError
_2789:
	push	_bb_Asset
	push	dword [esi+32]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2793
	push	eax
	call	_bbGCFree
	add	esp,4
_2793:
	mov	dword [ebx+16],esi
	push	_2794
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2796
	call	_brl_blitz_NullObjectError
_2796:
	mov	edi,dword [ebx+40]
	cmp	edi,_bbNullObject
	jne	_2798
	call	_brl_blitz_NullObjectError
_2798:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2800
	call	_brl_blitz_NullObjectError
_2800:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2802
	call	_brl_blitz_NullObjectError
_2802:
	push	dword [ebx+40]
	push	1
	push	dword [esi+32]
	push	dword [edi+28]
	call	_maxgui_maxgui_AddTreeViewNode
	add	esp,16
	push	_2803
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2805
	call	_brl_blitz_NullObjectError
_2805:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2807
	call	_brl_blitz_NullObjectError
_2807:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_2809
	call	_brl_blitz_NullObjectError
_2809:
	push	dword [esi+28]
	push	dword [ebx+32]
	call	_maxgui_maxgui_GadgetText
	add	esp,4
	push	eax
	push	_100
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2812
	call	_brl_blitz_NullObjectError
_2812:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2814
	call	_brl_blitz_NullObjectError
_2814:
	push	_1
	push	dword [ebx+24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2815
	mov	eax,ebp
	push	eax
	push	_2843
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2818
	call	_brl_blitz_NullObjectError
_2818:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2820
	call	_brl_blitz_NullObjectError
_2820:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2822
	call	_brl_blitz_NullObjectError
_2822:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_2824
	call	_brl_blitz_NullObjectError
_2824:
	push	dword [esi+28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	_101
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2825
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2827
	call	_brl_blitz_NullObjectError
_2827:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2829
	call	_brl_blitz_NullObjectError
_2829:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2832
	call	_brl_blitz_NullObjectError
_2832:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2834
	call	_brl_blitz_NullObjectError
_2834:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2836
	call	_brl_blitz_NullObjectError
_2836:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_2838
	call	_brl_blitz_NullObjectError
_2838:
	push	dword [esi+28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_2842
	push	eax
	call	_bbGCFree
	add	esp,4
_2842:
	mov	dword [edi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_2815:
	push	_2844
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2846
	call	_brl_blitz_NullObjectError
_2846:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2848
	call	_brl_blitz_NullObjectError
_2848:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2850
	call	_brl_blitz_NullObjectError
_2850:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_2852
	call	_brl_blitz_NullObjectError
_2852:
	push	dword [esi+24]
	push	_39
	push	dword [_bb_CurrentProject]
	push	_42
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+12]
	call	_brl_bank_SaveBank
	add	esp,8
	push	_2853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2855
	call	_brl_blitz_NullObjectError
_2855:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_2857
	call	_brl_blitz_NullObjectError
_2857:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_2858
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2861
	call	_brl_blitz_NullObjectError
_2861:
	mov	esi,dword [ebx+20]
	mov	eax,esi
	add	eax,24
	mov	ebx,eax
	mov	eax,ebx
	add	eax,dword [esi+16]
	mov	edi,eax
	jmp	_102
_104:
	mov	eax,dword [ebx]
	mov	dword [ebp-28],eax
	add	ebx,4
	cmp	dword [ebp-28],_bbNullObject
	je	_102
	mov	eax,ebp
	push	eax
	push	_2870
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2866
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-28],_bbNullObject
	je	_2867
	mov	eax,ebp
	push	eax
	push	_2869
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2868
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2867:
	call	dword [_bbOnDebugLeaveScope]
_102:
	cmp	ebx,edi
	jne	_104
_103:
	push	_2872
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2874
	call	_brl_blitz_NullObjectError
_2874:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_2875
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2877
	call	_brl_blitz_NullObjectError
_2877:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	push	_2878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2880
	call	_brl_blitz_NullObjectError
_2880:
	mov	ebx,_bbEmptyArray
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_2885
	push	eax
	call	_bbGCFree
	add	esp,4
_2885:
	mov	dword [esi+20],ebx
	call	dword [_bbOnDebugLeaveScope]
_2753:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2659
_2672:
	mov	eax,ebp
	push	eax
	push	_2894
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2890
	call	_brl_blitz_NullObjectError
_2890:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_2891
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2893
	call	_brl_blitz_NullObjectError
_2893:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2659
_2659:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2642
_2642:
	push	_2896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_ToolWindow_Update
	add	esp,16
	mov	ebx,0
	jmp	_542
_542:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetWindow_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3172
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2898
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	13
	push	_2899
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_2901
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2903
	call	_brl_blitz_NullObjectError
_2903:
	cmp	dword [ebx+40],_bbNullObject
	jne	_2904
	mov	eax,ebp
	push	eax
	push	_2913
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2907
	call	_brl_blitz_NullObjectError
_2907:
	push	_bb_Tileset
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_2912
	push	eax
	call	_bbGCFree
	add	esp,4
_2912:
	mov	dword [esi+40],ebx
	call	dword [_bbOnDebugLeaveScope]
_2904:
	push	_2914
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2916
	call	_brl_blitz_NullObjectError
_2916:
	mov	dword [ebp-24],ebx
	mov	eax,dword [ebp-4]
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],_bbNullObject
	jne	_2919
	call	_brl_blitz_NullObjectError
_2919:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2921
	call	_brl_blitz_NullObjectError
_2921:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-16],eax
	cmp	dword [ebp-16],_bbNullObject
	jne	_2923
	call	_brl_blitz_NullObjectError
_2923:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2925
	call	_brl_blitz_NullObjectError
_2925:
	mov	edi,dword [ebx+12]
	cmp	edi,_bbNullObject
	jne	_2927
	call	_brl_blitz_NullObjectError
_2927:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2929
	call	_brl_blitz_NullObjectError
_2929:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_2931
	call	_brl_blitz_NullObjectError
_2931:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2933
	call	_brl_blitz_NullObjectError
_2933:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_2935
	call	_brl_blitz_NullObjectError
_2935:
	push	529
	push	_bbNullObject
	push	dword [esi+20]
	push	dword [ebx+16]
	push	dword [edi+12]
	mov	eax,dword [ebp-16]
	push	dword [eax+8]
	mov	eax,dword [ebp-20]
	push	dword [eax+16]
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_2939
	push	eax
	call	_bbGCFree
	add	esp,4
_2939:
	mov	eax,dword [ebp-24]
	mov	dword [eax+8],ebx
	push	_2940
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2942
	call	_brl_blitz_ArrayBoundsError
_2942:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2945
	call	_brl_blitz_NullObjectError
_2945:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2947
	call	_brl_blitz_NullObjectError
_2947:
	push	_105
	push	3
	push	dword [ebx+8]
	push	80
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_2951
	push	eax
	call	_bbGCFree
	add	esp,4
_2951:
	mov	dword [edi+24],ebx
	push	_2952
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2954
	call	_brl_blitz_ArrayBoundsError
_2954:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-12],eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2957
	call	_brl_blitz_NullObjectError
_2957:
	mov	edi,dword [ebx+40]
	cmp	edi,_bbNullObject
	jne	_2959
	call	_brl_blitz_NullObjectError
_2959:
	mov	esi,0
	mov	eax,dword [ebp-8]
	cmp	esi,dword [eax+20]
	jb	_2961
	call	_brl_blitz_ArrayBoundsError
_2961:
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2963
	call	_brl_blitz_ArrayBoundsError
_2963:
	push	8
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	mov	eax,dword [ebp-8]
	push	dword [eax+esi*4+24]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,20
	push	eax
	push	10
	push	10
	push	dword [edi+28]
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2967
	push	eax
	call	_bbGCFree
	add	esp,4
_2967:
	mov	eax,dword [ebp-12]
	mov	dword [eax+24],ebx
	push	_2968
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2970
	call	_brl_blitz_NullObjectError
_2970:
	movzx	eax,byte [ebx+36]
	mov	eax,eax
	cmp	eax,1
	jne	_2971
	mov	eax,ebp
	push	eax
	push	_2975
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2972
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2974
	call	_brl_blitz_ArrayBoundsError
_2974:
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_DisableGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2971:
	push	_2976
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2978
	call	_brl_blitz_ArrayBoundsError
_2978:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2981
	call	_brl_blitz_NullObjectError
_2981:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2983
	call	_brl_blitz_NullObjectError
_2983:
	push	_106
	push	3
	push	dword [ebx+8]
	push	120
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	80
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_2987
	push	eax
	call	_bbGCFree
	add	esp,4
_2987:
	mov	dword [edi+24],ebx
	push	_2988
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2990
	call	_brl_blitz_ArrayBoundsError
_2990:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_2993
	call	_brl_blitz_ArrayBoundsError
_2993:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	40
	push	10
	push	10
	push	_107
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_2997
	push	eax
	call	_bbGCFree
	add	esp,4
_2997:
	mov	dword [esi+24],ebx
	push	_2998
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3000
	call	_brl_blitz_ArrayBoundsError
_3000:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3003
	call	_brl_blitz_ArrayBoundsError
_3003:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	50
	push	10
	push	50
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3007
	push	eax
	call	_bbGCFree
	add	esp,4
_3007:
	mov	dword [esi+24],ebx
	push	_3008
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3010
	call	_brl_blitz_ArrayBoundsError
_3010:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3012
	call	_brl_blitz_NullObjectError
_3012:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3014
	call	_brl_blitz_NullObjectError
_3014:
	push	dword [esi+44]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	push	_3015
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,5
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3017
	call	_brl_blitz_ArrayBoundsError
_3017:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3020
	call	_brl_blitz_ArrayBoundsError
_3020:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	40
	push	30
	push	10
	push	_108
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3024
	push	eax
	call	_bbGCFree
	add	esp,4
_3024:
	mov	dword [esi+24],ebx
	push	_3025
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,6
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3027
	call	_brl_blitz_ArrayBoundsError
_3027:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3030
	call	_brl_blitz_ArrayBoundsError
_3030:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	50
	push	30
	push	50
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3034
	push	eax
	call	_bbGCFree
	add	esp,4
_3034:
	mov	dword [esi+24],ebx
	push	_3035
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,6
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3037
	call	_brl_blitz_ArrayBoundsError
_3037:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3039
	call	_brl_blitz_NullObjectError
_3039:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3041
	call	_brl_blitz_NullObjectError
_3041:
	push	dword [esi+48]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	push	_3042
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3044
	call	_brl_blitz_ArrayBoundsError
_3044:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3047
	call	_brl_blitz_ArrayBoundsError
_3047:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	40
	push	10
	push	110
	push	_109
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3051
	push	eax
	call	_bbGCFree
	add	esp,4
_3051:
	mov	dword [esi+24],ebx
	push	_3052
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,8
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3054
	call	_brl_blitz_ArrayBoundsError
_3054:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3057
	call	_brl_blitz_ArrayBoundsError
_3057:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	50
	push	10
	push	150
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3061
	push	eax
	call	_bbGCFree
	add	esp,4
_3061:
	mov	dword [esi+24],ebx
	push	_3062
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,8
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3064
	call	_brl_blitz_ArrayBoundsError
_3064:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3066
	call	_brl_blitz_NullObjectError
_3066:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3068
	call	_brl_blitz_NullObjectError
_3068:
	push	dword [esi+40]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	push	_3069
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,9
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3071
	call	_brl_blitz_ArrayBoundsError
_3071:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3074
	call	_brl_blitz_ArrayBoundsError
_3074:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	40
	push	30
	push	110
	push	_110
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3078
	push	eax
	call	_bbGCFree
	add	esp,4
_3078:
	mov	dword [esi+24],ebx
	push	_3079
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3081
	call	_brl_blitz_ArrayBoundsError
_3081:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3084
	call	_brl_blitz_ArrayBoundsError
_3084:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	100
	push	30
	push	150
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3088
	push	eax
	call	_bbGCFree
	add	esp,4
_3088:
	mov	dword [esi+24],ebx
	push	_3089
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3091
	call	_brl_blitz_ArrayBoundsError
_3091:
	push	_3092
	push	_112
	push	-1
	push	0
	push	_111
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_3093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3095
	call	_brl_blitz_ArrayBoundsError
_3095:
	push	_3096
	push	_114
	push	-1
	push	0
	push	_113
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_3097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3099
	call	_brl_blitz_ArrayBoundsError
_3099:
	push	_3100
	push	_116
	push	-1
	push	0
	push	_115
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_3101
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3103
	call	_brl_blitz_NullObjectError
_3103:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3105
	call	_brl_blitz_NullObjectError
_3105:
	mov	eax,dword [ebx+36]
	cmp	eax,1
	je	_3108
	cmp	eax,2
	je	_3109
	cmp	eax,4
	je	_3110
	mov	eax,ebp
	push	eax
	push	_3114
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3111
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3113
	call	_brl_blitz_ArrayBoundsError
_3113:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3107
_3108:
	mov	eax,ebp
	push	eax
	push	_3118
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3115
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3117
	call	_brl_blitz_ArrayBoundsError
_3117:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3107
_3109:
	mov	eax,ebp
	push	eax
	push	_3122
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3121
	call	_brl_blitz_ArrayBoundsError
_3121:
	push	1
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3107
_3110:
	mov	eax,ebp
	push	eax
	push	_3126
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3123
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3125
	call	_brl_blitz_ArrayBoundsError
_3125:
	push	2
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3107
_3107:
	push	_3127
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3129
	call	_brl_blitz_NullObjectError
_3129:
	movzx	eax,byte [ebx+36]
	mov	eax,eax
	cmp	eax,1
	jne	_3130
	mov	eax,ebp
	push	eax
	push	_3141
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3131
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,11
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3133
	call	_brl_blitz_ArrayBoundsError
_3133:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3136
	call	_brl_blitz_NullObjectError
_3136:
	push	8
	push	dword [ebx+8]
	push	20
	push	100
	push	220
	push	10
	push	_117
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3140
	push	eax
	call	_bbGCFree
	add	esp,4
_3140:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3142
_3130:
	mov	eax,ebp
	push	eax
	push	_3153
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3143
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,11
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3145
	call	_brl_blitz_ArrayBoundsError
_3145:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3148
	call	_brl_blitz_NullObjectError
_3148:
	push	8
	push	dword [ebx+8]
	push	20
	push	100
	push	220
	push	10
	push	_118
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3152
	push	eax
	call	_bbGCFree
	add	esp,4
_3152:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_3142:
	push	_3154
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,12
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3156
	call	_brl_blitz_ArrayBoundsError
_3156:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3159
	call	_brl_blitz_NullObjectError
_3159:
	push	8
	push	dword [ebx+8]
	push	20
	push	100
	push	220
	push	120
	push	_119
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3163
	push	eax
	call	_bbGCFree
	add	esp,4
_3163:
	mov	dword [esi+24],ebx
	push	_3164
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3166
	call	_brl_blitz_NullObjectError
_3166:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3171
	push	eax
	call	_bbGCFree
	add	esp,4
_3171:
	mov	dword [esi+20],ebx
	mov	ebx,0
	jmp	_545
_545:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapWindow_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3180
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_ToolWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MapWindow
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	push	ebp
	push	_3179
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3174
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3177
	call	_brl_blitz_NullObjectError
_3177:
	mov	dword [ebx+24],2
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_548
_548:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapWindow_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_551:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_3183
	push	eax
	call	_bbGCFree
	add	esp,4
_3183:
	mov	dword [ebx],_bb_ToolWindow
	push	ebx
	call	__bb_ToolWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_3181
_3181:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapWindow_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_3374
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3184
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8193
	je	_3187
	jmp	_3186
_3187:
	mov	eax,ebp
	push	eax
	push	_3372
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3188
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3193
	call	_brl_blitz_NullObjectError
_3193:
	mov	esi,dword [ebx+20]
	mov	ebx,14
	cmp	ebx,dword [esi+20]
	jb	_3196
	call	_brl_blitz_ArrayBoundsError
_3196:
	cmp	edi,dword [esi+ebx*4+24]
	je	_3191
	jmp	_3190
_3191:
	mov	eax,ebp
	push	eax
	push	_3371
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3197
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3199
	call	_brl_blitz_NullObjectError
_3199:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3201
	call	_brl_blitz_NullObjectError
_3201:
	cmp	dword [ebx+12],_bbNullObject
	jne	_3202
	mov	eax,ebp
	push	eax
	push	_3213
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3203
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3205
	call	_brl_blitz_NullObjectError
_3205:
	mov	esi,dword [ebx+40]
	cmp	esi,_bbNullObject
	jne	_3207
	call	_brl_blitz_NullObjectError
_3207:
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_3212
	push	eax
	call	_bbGCFree
	add	esp,4
_3212:
	mov	dword [esi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_3202:
	push	_3214
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3216
	call	_brl_blitz_NullObjectError
_3216:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3218
	call	_brl_blitz_NullObjectError
_3218:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3221
	call	_brl_blitz_NullObjectError
_3221:
	mov	esi,dword [ebx+20]
	mov	ebx,6
	cmp	ebx,dword [esi+20]
	jb	_3224
	call	_brl_blitz_ArrayBoundsError
_3224:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+28]
	dec	dword [eax+4]
	jnz	_3228
	push	eax
	call	_bbGCFree
	add	esp,4
_3228:
	mov	dword [edi+28],ebx
	push	_3229
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3231
	call	_brl_blitz_NullObjectError
_3231:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3233
	call	_brl_blitz_NullObjectError
_3233:
	push	_1
	push	dword [ebx+28]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3234
	mov	eax,ebp
	push	eax
	push	_3245
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3235
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3237
	call	_brl_blitz_NullObjectError
_3237:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3239
	call	_brl_blitz_NullObjectError
_3239:
	push	9999
	push	1
	call	_brl_random_Rand
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_120
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_3244
	push	eax
	call	_bbGCFree
	add	esp,4
_3244:
	mov	dword [ebx+28],esi
	call	dword [_bbOnDebugLeaveScope]
_3234:
	push	_3246
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3248
	call	_brl_blitz_NullObjectError
_3248:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3250
	call	_brl_blitz_NullObjectError
_3250:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3253
	call	_brl_blitz_NullObjectError
_3253:
	mov	esi,dword [ebx+20]
	mov	ebx,3
	cmp	ebx,dword [esi+20]
	jb	_3256
	call	_brl_blitz_ArrayBoundsError
_3256:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [edi+52],eax
	push	_3257
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3259
	call	_brl_blitz_NullObjectError
_3259:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3261
	call	_brl_blitz_NullObjectError
_3261:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3264
	call	_brl_blitz_NullObjectError
_3264:
	mov	esi,dword [ebx+20]
	mov	ebx,4
	cmp	ebx,dword [esi+20]
	jb	_3267
	call	_brl_blitz_ArrayBoundsError
_3267:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [edi+56],eax
	push	_3268
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3270
	call	_brl_blitz_NullObjectError
_3270:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3272
	call	_brl_blitz_NullObjectError
_3272:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3275
	call	_brl_blitz_NullObjectError
_3275:
	push	_bb_Asset
	push	dword [esi+32]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3279
	push	eax
	call	_bbGCFree
	add	esp,4
_3279:
	mov	dword [ebx+16],esi
	push	_3280
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3282
	call	_brl_blitz_NullObjectError
_3282:
	mov	edi,dword [ebx+40]
	cmp	edi,_bbNullObject
	jne	_3284
	call	_brl_blitz_NullObjectError
_3284:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3286
	call	_brl_blitz_NullObjectError
_3286:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3288
	call	_brl_blitz_NullObjectError
_3288:
	push	dword [ebx+40]
	push	1
	push	dword [esi+32]
	push	dword [edi+28]
	call	_maxgui_maxgui_AddTreeViewNode
	add	esp,16
	push	_3289
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3291
	call	_brl_blitz_NullObjectError
_3291:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3293
	call	_brl_blitz_NullObjectError
_3293:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3295
	call	_brl_blitz_NullObjectError
_3295:
	push	dword [esi+28]
	push	dword [ebx+32]
	call	_maxgui_maxgui_GadgetText
	add	esp,4
	push	eax
	push	_100
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3296
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3298
	call	_brl_blitz_NullObjectError
_3298:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3300
	call	_brl_blitz_NullObjectError
_3300:
	push	_1
	push	dword [ebx+24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3301
	mov	eax,ebp
	push	eax
	push	_3329
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3302
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3304
	call	_brl_blitz_NullObjectError
_3304:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3306
	call	_brl_blitz_NullObjectError
_3306:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3308
	call	_brl_blitz_NullObjectError
_3308:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3310
	call	_brl_blitz_NullObjectError
_3310:
	push	dword [esi+28]
	push	_39
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	eax
	push	_101
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3311
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3313
	call	_brl_blitz_NullObjectError
_3313:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3315
	call	_brl_blitz_NullObjectError
_3315:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3318
	call	_brl_blitz_NullObjectError
_3318:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3320
	call	_brl_blitz_NullObjectError
_3320:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3322
	call	_brl_blitz_NullObjectError
_3322:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3324
	call	_brl_blitz_NullObjectError
_3324:
	push	dword [esi+28]
	push	_39
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_3328
	push	eax
	call	_bbGCFree
	add	esp,4
_3328:
	mov	dword [edi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_3301:
	push	_3330
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3332
	call	_brl_blitz_NullObjectError
_3332:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3334
	call	_brl_blitz_NullObjectError
_3334:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3336
	call	_brl_blitz_NullObjectError
_3336:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3338
	call	_brl_blitz_NullObjectError
_3338:
	push	_121
	push	dword [esi+24]
	push	_39
	push	dword [_bb_CurrentProject]
	push	_42
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+12]
	call	_brl_bank_SaveBank
	add	esp,8
	push	_3339
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3341
	call	_brl_blitz_NullObjectError
_3341:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3343
	call	_brl_blitz_NullObjectError
_3343:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_3344
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3347
	call	_brl_blitz_NullObjectError
_3347:
	mov	esi,dword [ebx+20]
	mov	eax,esi
	add	eax,24
	mov	ebx,eax
	mov	eax,ebx
	add	eax,dword [esi+16]
	mov	edi,eax
	jmp	_122
_124:
	mov	eax,dword [ebx]
	mov	dword [ebp-20],eax
	add	ebx,4
	cmp	dword [ebp-20],_bbNullObject
	je	_122
	mov	eax,ebp
	push	eax
	push	_3356
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3352
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	je	_3353
	mov	eax,ebp
	push	eax
	push	_3355
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3354
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_3353:
	call	dword [_bbOnDebugLeaveScope]
_122:
	cmp	ebx,edi
	jne	_124
_123:
	push	_3357
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3359
	call	_brl_blitz_NullObjectError
_3359:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_3360
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3362
	call	_brl_blitz_NullObjectError
_3362:
	mov	ebx,_bbEmptyArray
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3367
	push	eax
	call	_bbGCFree
	add	esp,4
_3367:
	mov	dword [esi+20],ebx
	push	_3368
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3370
	call	_brl_blitz_NullObjectError
_3370:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3190
_3190:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3186
_3186:
	push	_3373
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_ToolWindow_Update
	add	esp,16
	mov	ebx,0
	jmp	_557
_557:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapWindow_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3642
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3375
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	16
	push	_3376
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_3378
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3380
	call	_brl_blitz_NullObjectError
_3380:
	cmp	dword [ebx+40],_bbNullObject
	jne	_3381
	mov	eax,ebp
	push	eax
	push	_3390
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3382
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3384
	call	_brl_blitz_NullObjectError
_3384:
	push	_bb_Map
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_3389
	push	eax
	call	_bbGCFree
	add	esp,4
_3389:
	mov	dword [esi+40],ebx
	call	dword [_bbOnDebugLeaveScope]
_3381:
	push	_3391
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3393
	call	_brl_blitz_NullObjectError
_3393:
	mov	dword [ebp-24],ebx
	mov	eax,dword [ebp-4]
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],_bbNullObject
	jne	_3396
	call	_brl_blitz_NullObjectError
_3396:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3398
	call	_brl_blitz_NullObjectError
_3398:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	jne	_3400
	call	_brl_blitz_NullObjectError
_3400:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3402
	call	_brl_blitz_NullObjectError
_3402:
	mov	edi,dword [ebx+12]
	cmp	edi,_bbNullObject
	jne	_3404
	call	_brl_blitz_NullObjectError
_3404:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3406
	call	_brl_blitz_NullObjectError
_3406:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_3408
	call	_brl_blitz_NullObjectError
_3408:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3410
	call	_brl_blitz_NullObjectError
_3410:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_3412
	call	_brl_blitz_NullObjectError
_3412:
	push	529
	push	_bbNullObject
	push	dword [esi+20]
	push	dword [ebx+16]
	push	dword [edi+12]
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	mov	eax,dword [ebp-20]
	push	dword [eax+16]
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3416
	push	eax
	call	_bbGCFree
	add	esp,4
_3416:
	mov	eax,dword [ebp-24]
	mov	dword [eax+8],ebx
	push	_3417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,5
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3419
	call	_brl_blitz_ArrayBoundsError
_3419:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3422
	call	_brl_blitz_NullObjectError
_3422:
	push	0
	push	dword [ebx+8]
	push	20
	push	40
	push	10
	push	10
	push	_125
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3426
	push	eax
	call	_bbGCFree
	add	esp,4
_3426:
	mov	dword [esi+24],ebx
	push	_3427
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,6
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3429
	call	_brl_blitz_ArrayBoundsError
_3429:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3432
	call	_brl_blitz_NullObjectError
_3432:
	push	0
	push	dword [ebx+8]
	push	20
	push	100
	push	10
	push	50
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3436
	push	eax
	call	_bbGCFree
	add	esp,4
_3436:
	mov	dword [esi+24],ebx
	push	_3437
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,6
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3439
	call	_brl_blitz_ArrayBoundsError
_3439:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3441
	call	_brl_blitz_NullObjectError
_3441:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3443
	call	_brl_blitz_NullObjectError
_3443:
	push	dword [esi+28]
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	push	_3444
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3446
	call	_brl_blitz_ArrayBoundsError
_3446:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3449
	call	_brl_blitz_NullObjectError
_3449:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3451
	call	_brl_blitz_NullObjectError
_3451:
	push	_126
	push	3
	push	dword [ebx+8]
	push	80
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	30
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_3455
	push	eax
	call	_bbGCFree
	add	esp,4
_3455:
	mov	dword [edi+24],ebx
	push	_3456
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3458
	call	_brl_blitz_ArrayBoundsError
_3458:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3461
	call	_brl_blitz_ArrayBoundsError
_3461:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	40
	push	10
	push	10
	push	_127
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3465
	push	eax
	call	_bbGCFree
	add	esp,4
_3465:
	mov	dword [esi+24],ebx
	push	_3466
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3468
	call	_brl_blitz_ArrayBoundsError
_3468:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3471
	call	_brl_blitz_ArrayBoundsError
_3471:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	40
	push	30
	push	10
	push	_128
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3475
	push	eax
	call	_bbGCFree
	add	esp,4
_3475:
	mov	dword [esi+24],ebx
	push	_3476
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3478
	call	_brl_blitz_ArrayBoundsError
_3478:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3481
	call	_brl_blitz_ArrayBoundsError
_3481:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	50
	push	10
	push	50
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3485
	push	eax
	call	_bbGCFree
	add	esp,4
_3485:
	mov	dword [esi+24],ebx
	push	_3486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3488
	call	_brl_blitz_ArrayBoundsError
_3488:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3490
	call	_brl_blitz_NullObjectError
_3490:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3492
	call	_brl_blitz_NullObjectError
_3492:
	push	dword [esi+52]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	push	_3493
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3495
	call	_brl_blitz_ArrayBoundsError
_3495:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3498
	call	_brl_blitz_ArrayBoundsError
_3498:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	50
	push	30
	push	50
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3502
	push	eax
	call	_bbGCFree
	add	esp,4
_3502:
	mov	dword [esi+24],ebx
	push	_3503
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3505
	call	_brl_blitz_ArrayBoundsError
_3505:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3507
	call	_brl_blitz_NullObjectError
_3507:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3509
	call	_brl_blitz_NullObjectError
_3509:
	push	dword [esi+56]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetText
	add	esp,8
	push	_3510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3512
	call	_brl_blitz_ArrayBoundsError
_3512:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3515
	call	_brl_blitz_NullObjectError
_3515:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3517
	call	_brl_blitz_NullObjectError
_3517:
	push	_129
	push	3
	push	dword [ebx+8]
	push	120
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	120
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_3521
	push	eax
	call	_bbGCFree
	add	esp,4
_3521:
	mov	dword [edi+24],ebx
	push	_3522
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,8
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3524
	call	_brl_blitz_ArrayBoundsError
_3524:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3527
	call	_brl_blitz_ArrayBoundsError
_3527:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	100
	push	10
	push	10
	push	_130
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3531
	push	eax
	call	_bbGCFree
	add	esp,4
_3531:
	mov	dword [esi+24],ebx
	push	_3532
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,9
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3534
	call	_brl_blitz_ArrayBoundsError
_3534:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3537
	call	_brl_blitz_ArrayBoundsError
_3537:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	100
	push	30
	push	10
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3541
	push	eax
	call	_bbGCFree
	add	esp,4
_3541:
	mov	dword [esi+24],ebx
	push	_3542
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,10
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3544
	call	_brl_blitz_ArrayBoundsError
_3544:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3547
	call	_brl_blitz_ArrayBoundsError
_3547:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	100
	push	10
	push	110
	push	_83
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3551
	push	eax
	call	_bbGCFree
	add	esp,4
_3551:
	mov	dword [esi+24],ebx
	push	_3552
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,11
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3554
	call	_brl_blitz_ArrayBoundsError
_3554:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3557
	call	_brl_blitz_ArrayBoundsError
_3557:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	100
	push	30
	push	110
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3561
	push	eax
	call	_bbGCFree
	add	esp,4
_3561:
	mov	dword [esi+24],ebx
	push	_3562
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,12
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3564
	call	_brl_blitz_ArrayBoundsError
_3564:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3567
	call	_brl_blitz_ArrayBoundsError
_3567:
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	20
	push	100
	push	60
	push	10
	push	_131
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3571
	push	eax
	call	_bbGCFree
	add	esp,4
_3571:
	mov	dword [esi+24],ebx
	push	_3572
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,13
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3574
	call	_brl_blitz_ArrayBoundsError
_3574:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,7
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3577
	call	_brl_blitz_ArrayBoundsError
_3577:
	push	_1
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	30
	push	30
	push	60
	push	110
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3581
	push	eax
	call	_bbGCFree
	add	esp,4
_3581:
	mov	dword [esi+24],ebx
	push	_3582
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],13
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-16],eax
	jb	_3584
	call	_brl_blitz_ArrayBoundsError
_3584:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3586
	call	_brl_blitz_NullObjectError
_3586:
	mov	edi,dword [ebx+40]
	cmp	edi,_bbNullObject
	jne	_3588
	call	_brl_blitz_NullObjectError
_3588:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3590
	call	_brl_blitz_NullObjectError
_3590:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_3592
	call	_brl_blitz_NullObjectError
_3592:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3594
	call	_brl_blitz_NullObjectError
_3594:
	mov	esi,dword [esi+40]
	cmp	esi,_bbNullObject
	jne	_3596
	call	_brl_blitz_NullObjectError
_3596:
	push	dword [esi+68]
	push	dword [ebx+64]
	push	dword [edi+60]
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebp-16]
	push	dword [edx+eax*4+24]
	call	_maxgui_maxgui_SetPanelColor
	add	esp,16
	push	_3597
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3599
	call	_brl_blitz_NullObjectError
_3599:
	movzx	eax,byte [ebx+36]
	mov	eax,eax
	cmp	eax,1
	jne	_3600
	mov	eax,ebp
	push	eax
	push	_3611
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3601
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,14
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3603
	call	_brl_blitz_ArrayBoundsError
_3603:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3606
	call	_brl_blitz_NullObjectError
_3606:
	push	8
	push	dword [ebx+8]
	push	20
	push	100
	push	250
	push	10
	push	_132
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3610
	push	eax
	call	_bbGCFree
	add	esp,4
_3610:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3612
_3600:
	mov	eax,ebp
	push	eax
	push	_3623
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3613
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,14
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3615
	call	_brl_blitz_ArrayBoundsError
_3615:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3618
	call	_brl_blitz_NullObjectError
_3618:
	push	8
	push	dword [ebx+8]
	push	20
	push	100
	push	250
	push	10
	push	_133
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3622
	push	eax
	call	_bbGCFree
	add	esp,4
_3622:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_3612:
	push	_3624
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,15
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3626
	call	_brl_blitz_ArrayBoundsError
_3626:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3629
	call	_brl_blitz_NullObjectError
_3629:
	push	8
	push	dword [ebx+8]
	push	20
	push	100
	push	250
	push	120
	push	_119
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3633
	push	eax
	call	_bbGCFree
	add	esp,4
_3633:
	mov	dword [esi+24],ebx
	push	_3634
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3636
	call	_brl_blitz_NullObjectError
_3636:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3641
	push	eax
	call	_bbGCFree
	add	esp,4
_3641:
	mov	dword [esi+20],ebx
	mov	ebx,0
	jmp	_560
_560:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_NewProjectWindow_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3649
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_ToolWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_NewProjectWindow
	push	ebp
	push	_3648
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3643
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3646
	call	_brl_blitz_NullObjectError
_3646:
	mov	dword [ebx+24],2
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_563
_563:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_NewProjectWindow_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_566:
	mov	dword [eax],_bb_ToolWindow
	push	eax
	call	__bb_ToolWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_3650
_3650:
	mov	esp,ebp
	pop	ebp
	ret
__bb_NewProjectWindow_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbEmptyString
	mov	eax,ebp
	push	eax
	push	_3757
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3651
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8193
	je	_3654
	jmp	_3653
_3654:
	mov	eax,ebp
	push	eax
	push	_3756
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3655
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3660
	call	_brl_blitz_NullObjectError
_3660:
	mov	esi,dword [ebx+20]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_3663
	call	_brl_blitz_ArrayBoundsError
_3663:
	cmp	edi,dword [esi+ebx*4+24]
	je	_3658
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3666
	call	_brl_blitz_NullObjectError
_3666:
	mov	esi,dword [ebx+20]
	mov	ebx,3
	cmp	ebx,dword [esi+20]
	jb	_3669
	call	_brl_blitz_ArrayBoundsError
_3669:
	cmp	edi,dword [esi+ebx*4+24]
	je	_3664
	jmp	_3657
_3658:
	mov	eax,ebp
	push	eax
	push	_3748
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3670
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3672
	call	_brl_blitz_NullObjectError
_3672:
	mov	esi,dword [ebx+20]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3675
	call	_brl_blitz_ArrayBoundsError
_3675:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	push	eax
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_3676
	mov	eax,ebp
	push	eax
	push	_3743
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3677
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3679
	call	_brl_blitz_NullObjectError
_3679:
	mov	esi,dword [ebx+20]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_3682
	call	_brl_blitz_ArrayBoundsError
_3682:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_TextFieldText
	add	esp,4
	mov	dword [ebp-20],eax
	push	_3684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_134
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3686
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_135
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3687
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_136
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_137
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3689
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_138
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3690
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_139
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3691
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_140
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3692
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_141
	push	dword [ebp-20]
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	push	_3693
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_142
	call	_brl_system_Notify
	add	esp,8
	push	_3694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3696
	call	_brl_blitz_NullObjectError
_3696:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_3697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3699
	call	_brl_blitz_NullObjectError
_3699:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	push	_3700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_MainEd],_bbNullObject
	je	_3701
	mov	eax,ebp
	push	eax
	push	_3710
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3702
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_3704
	call	_brl_blitz_NullObjectError
_3704:
	cmp	dword [ebx+8],_bbNullObject
	je	_3705
	mov	eax,ebp
	push	eax
	push	_3709
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3706
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_3708
	call	_brl_blitz_NullObjectError
_3708:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_3705:
	call	dword [_bbOnDebugLeaveScope]
_3701:
	push	_3711
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_Proj],_bbNullObject
	je	_3712
	mov	eax,ebp
	push	eax
	push	_3721
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3713
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_Proj]
	cmp	ebx,_bbNullObject
	jne	_3715
	call	_brl_blitz_NullObjectError
_3715:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_3716
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_bb_Proj]
	dec	dword [eax+4]
	jnz	_3720
	push	eax
	call	_bbGCFree
	add	esp,4
_3720:
	mov	dword [_bb_Proj],ebx
	call	dword [_bbOnDebugLeaveScope]
_3712:
	push	_3722
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [_bb_CurrentProject]
	dec	dword [eax+4]
	jnz	_3726
	push	eax
	call	_bbGCFree
	add	esp,4
_3726:
	mov	dword [_bb_CurrentProject],ebx
	push	_3727
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_Config]
	cmp	ebx,_bbNullObject
	jne	_3729
	call	_brl_blitz_NullObjectError
_3729:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	_3730
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	push	_143
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_3734
	push	eax
	call	_bbGCFree
	add	esp,4
_3734:
	mov	dword [_bbAppTitle],ebx
	push	_3735
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Editor_Main
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_MainEd]
	dec	dword [eax+4]
	jnz	_3739
	push	eax
	call	_bbGCFree
	add	esp,4
_3739:
	mov	dword [_bb_MainEd],ebx
	push	_3740
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_3742
	call	_brl_blitz_NullObjectError
_3742:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3745
_3676:
	mov	eax,ebp
	push	eax
	push	_3747
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3746
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_144
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_3745:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3657
_3664:
	mov	eax,ebp
	push	eax
	push	_3755
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3749
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3751
	call	_brl_blitz_NullObjectError
_3751:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_3752
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3754
	call	_brl_blitz_NullObjectError
_3754:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3657
_3657:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3653
_3653:
	mov	ebx,0
	jmp	_572
_572:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_NewProjectWindow_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3837
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3758
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	4
	push	_3759
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_3761
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3763
	call	_brl_blitz_NullObjectError
_3763:
	mov	dword [ebp-20],ebx
	mov	eax,dword [ebp-4]
	mov	dword [ebp-16],eax
	cmp	dword [ebp-16],_bbNullObject
	jne	_3766
	call	_brl_blitz_NullObjectError
_3766:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3768
	call	_brl_blitz_NullObjectError
_3768:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	jne	_3770
	call	_brl_blitz_NullObjectError
_3770:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3772
	call	_brl_blitz_NullObjectError
_3772:
	mov	edi,dword [ebx+12]
	cmp	edi,_bbNullObject
	jne	_3774
	call	_brl_blitz_NullObjectError
_3774:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3776
	call	_brl_blitz_NullObjectError
_3776:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_3778
	call	_brl_blitz_NullObjectError
_3778:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3780
	call	_brl_blitz_NullObjectError
_3780:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_3782
	call	_brl_blitz_NullObjectError
_3782:
	push	529
	push	_bbNullObject
	push	dword [esi+20]
	push	dword [ebx+16]
	push	dword [edi+12]
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	mov	eax,dword [ebp-16]
	push	dword [eax+16]
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3786
	push	eax
	call	_bbGCFree
	add	esp,4
_3786:
	mov	eax,dword [ebp-20]
	mov	dword [eax+8],ebx
	push	_3787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3789
	call	_brl_blitz_ArrayBoundsError
_3789:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3792
	call	_brl_blitz_NullObjectError
_3792:
	push	0
	push	dword [ebx+8]
	push	20
	push	100
	push	10
	push	10
	push	_145
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3796
	push	eax
	call	_bbGCFree
	add	esp,4
_3796:
	mov	dword [esi+24],ebx
	push	_3797
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3799
	call	_brl_blitz_ArrayBoundsError
_3799:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3802
	call	_brl_blitz_NullObjectError
_3802:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3804
	call	_brl_blitz_NullObjectError
_3804:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,20
	push	eax
	push	30
	push	10
	call	_maxgui_maxgui_CreateTextField
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_3808
	push	eax
	call	_bbGCFree
	add	esp,4
_3808:
	mov	dword [edi+24],ebx
	push	_3809
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3811
	call	_brl_blitz_ArrayBoundsError
_3811:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3814
	call	_brl_blitz_NullObjectError
_3814:
	push	8
	push	dword [ebx+8]
	push	20
	push	150
	push	60
	push	10
	push	_146
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3818
	push	eax
	call	_bbGCFree
	add	esp,4
_3818:
	mov	dword [esi+24],ebx
	push	_3819
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3821
	call	_brl_blitz_ArrayBoundsError
_3821:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3824
	call	_brl_blitz_NullObjectError
_3824:
	push	8
	push	dword [ebx+8]
	push	20
	push	150
	push	60
	push	170
	push	_119
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3828
	push	eax
	call	_bbGCFree
	add	esp,4
_3828:
	mov	dword [esi+24],ebx
	push	_3829
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3831
	call	_brl_blitz_NullObjectError
_3831:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3836
	push	eax
	call	_bbGCFree
	add	esp,4
_3836:
	mov	dword [esi+20],ebx
	mov	ebx,0
	jmp	_575
_575:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ToolWindow_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3845
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_ToolWindow
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	push	_bb_UIRect
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+12],eax
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	eax,dword [ebp-4]
	mov	byte [eax+36],0
	push	ebp
	push	_3844
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_578
_578:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ToolWindow_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_581:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_3848
	push	eax
	call	_bbGCFree
	add	esp,4
_3848:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_3850
	push	eax
	call	_bbGCFree
	add	esp,4
_3850:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3852
	push	eax
	call	_bbGCFree
	add	esp,4
_3852:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3854
	push	eax
	call	_bbGCFree
	add	esp,4
_3854:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3856
	push	eax
	call	_bbGCFree
	add	esp,4
_3856:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3858
	push	eax
	call	_bbGCFree
	add	esp,4
_3858:
	mov	eax,0
	jmp	_3846
_3846:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ToolWindow_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_3887
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3859
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],16387
	jne	_3861
	mov	eax,ebp
	push	eax
	push	_3886
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3862
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3864
	call	_brl_blitz_NullObjectError
_3864:
	mov	eax,dword [ebx+8]
	cmp	dword [ebp-12],eax
	jne	_3865
	mov	eax,ebp
	push	eax
	push	_3885
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3866
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3868
	call	_brl_blitz_NullObjectError
_3868:
	mov	eax,dword [ebx+20]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_147
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3869
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3872
	call	_brl_blitz_NullObjectError
_3872:
	mov	esi,dword [ebx+20]
	mov	eax,esi
	add	eax,24
	mov	ebx,eax
	mov	eax,ebx
	add	eax,dword [esi+16]
	mov	edi,eax
	jmp	_148
_150:
	mov	eax,dword [ebx]
	mov	dword [ebp-20],eax
	add	ebx,4
	cmp	dword [ebp-20],_bbNullObject
	je	_148
	mov	eax,ebp
	push	eax
	push	_3878
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3877
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
_148:
	cmp	ebx,edi
	jne	_150
_149:
	push	_3879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3881
	call	_brl_blitz_NullObjectError
_3881:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_3882
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3884
	call	_brl_blitz_NullObjectError
_3884:
	push	dword [ebp-4]
	push	dword [ebx+28]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_3865:
	call	dword [_bbOnDebugLeaveScope]
_3861:
	mov	ebx,0
	jmp	_587
_587:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ToolWindow_SetAll:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-28],eax
	push	ebp
	push	_3928
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3890
	call	_brl_blitz_NullObjectError
_3890:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_3892
	call	_brl_blitz_NullObjectError
_3892:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+8],eax
	push	_3894
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3896
	call	_brl_blitz_NullObjectError
_3896:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_3898
	call	_brl_blitz_NullObjectError
_3898:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+12],eax
	push	_3900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3902
	call	_brl_blitz_NullObjectError
_3902:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_3904
	call	_brl_blitz_NullObjectError
_3904:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+16],eax
	push	_3906
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3908
	call	_brl_blitz_NullObjectError
_3908:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_3910
	call	_brl_blitz_NullObjectError
_3910:
	mov	eax,dword [ebp-24]
	mov	dword [ebx+20],eax
	push	_3912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3914
	call	_brl_blitz_NullObjectError
_3914:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_3919
	push	eax
	call	_bbGCFree
	add	esp,4
_3919:
	mov	dword [esi+16],ebx
	push	_3920
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3922
	call	_brl_blitz_NullObjectError
_3922:
	mov	ebx,dword [ebp-28]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_3927
	push	eax
	call	_bbGCFree
	add	esp,4
_3927:
	mov	dword [esi+28],ebx
	mov	ebx,0
	jmp	_596
_596:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ToolWindow_Set:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	push	ebp
	push	_3941
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_3931
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_3933
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3935
	call	_brl_blitz_NullObjectError
_3935:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3940
	push	eax
	call	_bbGCFree
	add	esp,4
_3940:
	mov	dword [esi+20],ebx
	mov	ebx,0
	jmp	_599
_599:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_New:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,ebp
	push	eax
	push	_3984
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Editor_Main
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],525
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+32],eax
	mov	eax,ebp
	push	eax
	push	_3983
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3948
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3951
	call	_brl_blitz_NullObjectError
_3951:
	push	_bb_UIRect
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_3956
	push	eax
	call	_bbGCFree
	add	esp,4
_3956:
	mov	dword [esi+12],ebx
	push	_3957
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3959
	call	_brl_blitz_NullObjectError
_3959:
	mov	dword [ebp-16],ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3962
	call	_brl_blitz_NullObjectError
_3962:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	jne	_3964
	call	_brl_blitz_NullObjectError
_3964:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3966
	call	_brl_blitz_NullObjectError
_3966:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-8],eax
	cmp	dword [ebp-8],_bbNullObject
	jne	_3968
	call	_brl_blitz_NullObjectError
_3968:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3970
	call	_brl_blitz_NullObjectError
_3970:
	mov	edi,dword [ebx+12]
	cmp	edi,_bbNullObject
	jne	_3972
	call	_brl_blitz_NullObjectError
_3972:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3974
	call	_brl_blitz_NullObjectError
_3974:
	mov	esi,dword [ebx+12]
	cmp	esi,_bbNullObject
	jne	_3976
	call	_brl_blitz_NullObjectError
_3976:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3978
	call	_brl_blitz_NullObjectError
_3978:
	push	dword [ebx+16]
	push	_bbNullObject
	push	dword [esi+20]
	push	dword [edi+16]
	mov	eax,dword [ebp-8]
	push	dword [eax+12]
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	push	dword [_bbAppTitle]
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_3982
	push	eax
	call	_bbGCFree
	add	esp,4
_3982:
	mov	eax,dword [ebp-16]
	mov	dword [eax+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_602
_602:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_605:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_3987
	push	eax
	call	_bbGCFree
	add	esp,4
_3987:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_3989
	push	eax
	call	_bbGCFree
	add	esp,4
_3989:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3991
	push	eax
	call	_bbGCFree
	add	esp,4
_3991:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3993
	push	eax
	call	_bbGCFree
	add	esp,4
_3993:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3995
	push	eax
	call	_bbGCFree
	add	esp,4
_3995:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3997
	push	eax
	call	_bbGCFree
	add	esp,4
_3997:
	mov	eax,0
	jmp	_3985
_3985:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_Init:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_4055
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3998
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	5
	push	_3999
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_4001
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4003
	call	_brl_blitz_NullObjectError
_4003:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4005
	call	_brl_blitz_NullObjectError
_4005:
	call	_bbSystemDesktopHeight
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	imul	eax,3
	push	eax
	call	_bbSystemDesktopWidth
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	imul	eax,3
	push	eax
	push	0
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,20
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	push	_4006
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4008
	call	_brl_blitz_NullObjectError
_4008:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	_4009
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4011
	call	_brl_blitz_NullObjectError
_4011:
	mov	dword [ebp-16],ebx
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_4014
	call	_brl_blitz_NullObjectError
_4014:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4016
	call	_brl_blitz_NullObjectError
_4016:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4018
	call	_brl_blitz_NullObjectError
_4018:
	push	0
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	call	_maxgui_maxgui_CreateTabber
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+28]
	dec	dword [eax+4]
	jnz	_4022
	push	eax
	call	_bbGCFree
	add	esp,4
_4022:
	mov	eax,dword [ebp-16]
	mov	dword [eax+28],ebx
	push	_4023
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4025
	call	_brl_blitz_NullObjectError
_4025:
	push	1
	push	1
	push	1
	push	1
	push	dword [ebx+28]
	call	_maxgui_maxgui_SetGadgetLayout
	add	esp,20
	push	_4026
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapEditor_Module
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_4028
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_4030
	call	_brl_blitz_NullObjectError
_4030:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4032
	call	_brl_blitz_NullObjectError
_4032:
	push	1
	push	dword [ebx+28]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	push	_4033
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_4035
	call	_brl_blitz_NullObjectError
_4035:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	_4036
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4038
	call	_brl_blitz_ArrayBoundsError
_4038:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4043
	push	eax
	call	_bbGCFree
	add	esp,4
_4043:
	mov	dword [esi+24],ebx
	push	_4044
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4046
	call	_brl_blitz_NullObjectError
_4046:
	push	dword [ebp-12]
	push	_1
	push	-1
	push	0
	push	_151
	push	dword [ebx+28]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_4047
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4049
	call	_brl_blitz_NullObjectError
_4049:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4054
	push	eax
	call	_bbGCFree
	add	esp,4
_4054:
	mov	dword [esi+24],ebx
	mov	ebx,0
	jmp	_608
_608:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_New_Rect:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	dword [ebp-24],_bbNullObject
	push	ebp
	push	_4064
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4058
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_UIRect
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-24],eax
	push	_4060
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4062
	call	_brl_blitz_NullObjectError
_4062:
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,20
	push	_4063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	jmp	_615
_615:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_SetWindow:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,ebp
	push	eax
	push	_4088
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4066
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],_bbNullObject
	je	_4067
	mov	eax,ebp
	push	eax
	push	_4087
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4068
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4070
	call	_brl_blitz_NullObjectError
_4070:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4075
	push	eax
	call	_bbGCFree
	add	esp,4
_4075:
	mov	dword [esi+12],ebx
	push	_4076
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [ebp-16],eax
	cmp	dword [ebp-16],_bbNullObject
	jne	_4078
	call	_brl_blitz_NullObjectError
_4078:
	mov	eax,dword [ebp-8]
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	jne	_4080
	call	_brl_blitz_NullObjectError
_4080:
	mov	edi,dword [ebp-8]
	cmp	edi,_bbNullObject
	jne	_4082
	call	_brl_blitz_NullObjectError
_4082:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_4084
	call	_brl_blitz_NullObjectError
_4084:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4086
	call	_brl_blitz_NullObjectError
_4086:
	push	dword [ebx+20]
	push	dword [esi+16]
	push	dword [edi+12]
	mov	eax,dword [ebp-12]
	push	dword [eax+8]
	mov	eax,dword [ebp-16]
	push	dword [eax+8]
	call	_maxgui_maxgui_SetGadgetShape
	add	esp,20
	call	dword [_bbOnDebugLeaveScope]
_4067:
	mov	ebx,0
	jmp	_619
_619:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_UpdateUI:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],0
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],0
	mov	dword [ebp-32],_bbNullObject
	mov	dword [ebp-36],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_4187
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4090
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventID
	mov	dword [ebp-8],eax
	push	_4092
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	dword [ebp-12],eax
	push	_4094
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	mov	dword [ebp-16],eax
	push	_4096
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventExtra
	mov	dword [ebp-20],eax
	push	_4098
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_WaitEvent
	push	_4099
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,259
	je	_4102
	cmp	eax,16387
	je	_4103
	cmp	eax,32769
	je	_4104
	jmp	_4101
_4102:
	mov	eax,ebp
	push	eax
	push	_4106
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4105
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4101
_4103:
	mov	eax,ebp
	push	eax
	push	_4113
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4107
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4109
	call	_brl_blitz_NullObjectError
_4109:
	mov	eax,dword [ebx+8]
	cmp	dword [ebp-12],eax
	jne	_4110
	mov	eax,ebp
	push	eax
	push	_4112
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4111
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
_4110:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4101
_4104:
	mov	eax,ebp
	push	eax
	push	_4137
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4114
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_152
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4115
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	cmp	eax,105
	je	_4118
	cmp	eax,101
	je	_4119
	jmp	_4117
_4118:
	mov	eax,ebp
	push	eax
	push	_4121
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4120
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4117
_4119:
	mov	eax,ebp
	push	eax
	push	_4135
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4122
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_NewProjectWindow
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-24],eax
	push	_4124
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_4126
	call	_brl_blitz_NullObjectError
_4126:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4128
	call	_brl_blitz_NullObjectError
_4128:
	push	dword [ebx+32]
	push	200
	push	400
	push	0
	push	0
	push	_153
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_4129
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4131
	call	_brl_blitz_NullObjectError
_4131:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_4132
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4134
	call	_brl_blitz_NullObjectError
_4134:
	push	dword [ebp-24]
	push	dword [ebx+32]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4117
_4117:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4101
_4101:
	push	_4138
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4141
	call	_brl_blitz_NullObjectError
_4141:
	mov	eax,dword [ebx+24]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_4142
_156:
	mov	eax,ebp
	push	eax
	push	_4160
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4144
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4146
	call	_brl_blitz_NullObjectError
_4146:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-28]
	cmp	ebx,dword [esi+20]
	jb	_4149
	call	_brl_blitz_ArrayBoundsError
_4149:
	cmp	dword [esi+ebx*4+24],_bbNullObject
	je	_4150
	mov	eax,ebp
	push	eax
	push	_4159
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4151
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4153
	call	_brl_blitz_NullObjectError
_4153:
	mov	esi,dword [ebx+24]
	mov	ebx,dword [ebp-28]
	cmp	ebx,dword [esi+20]
	jb	_4156
	call	_brl_blitz_ArrayBoundsError
_4156:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4158
	call	_brl_blitz_NullObjectError
_4158:
	push	dword [ebp-20]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_4150:
	call	dword [_bbOnDebugLeaveScope]
_154:
	add	dword [ebp-28],1
_4142:
	cmp	dword [ebp-28],edi
	jle	_156
_155:
	push	_4161
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4164
	call	_brl_blitz_NullObjectError
_4164:
	mov	edi,dword [ebx+32]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_4167
	call	_brl_blitz_NullObjectError
_4167:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_157
_159:
	cmp	ebx,_bbNullObject
	jne	_4172
	call	_brl_blitz_NullObjectError
_4172:
	push	_bb_ToolWindow
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-32],eax
	cmp	dword [ebp-32],_bbNullObject
	je	_157
	mov	eax,ebp
	push	eax
	push	_4186
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4173
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-32]
	cmp	esi,_bbNullObject
	jne	_4175
	call	_brl_blitz_NullObjectError
_4175:
	mov	eax,dword [esi+24]
	cmp	eax,2
	je	_4178
	jmp	_4177
_4178:
	mov	eax,ebp
	push	eax
	push	_4184
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4179
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_NewProjectWindow
	push	dword [ebp-32]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-36],eax
	push	_4181
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-36]
	cmp	esi,_bbNullObject
	jne	_4183
	call	_brl_blitz_NullObjectError
_4183:
	push	dword [ebp-20]
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4177
_4177:
	call	dword [_bbOnDebugLeaveScope]
_157:
	cmp	ebx,_bbNullObject
	jne	_4170
	call	_brl_blitz_NullObjectError
_4170:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_159
_158:
	mov	ebx,0
	jmp	_622
_622:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Editor_Main_SetMenu:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	push	ebp
	push	_4231
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4189
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_4190
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_4192
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,0
	mov	eax,dword [ebp-8]
	cmp	esi,dword [eax+20]
	jb	_4194
	call	_brl_blitz_ArrayBoundsError
_4194:
	mov	ebx,dword [ebp-8]
	shl	esi,2
	add	ebx,esi
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4197
	call	_brl_blitz_NullObjectError
_4197:
	push	0
	push	0
	push	dword [esi+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_160
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4201
	push	eax
	call	_bbGCFree
	add	esp,4
_4201:
	mov	dword [ebx+24],esi
	push	_4202
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4204
	call	_brl_blitz_ArrayBoundsError
_4204:
	push	2
	push	78
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	101
	push	_161
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_4205
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4207
	call	_brl_blitz_ArrayBoundsError
_4207:
	push	2
	push	79
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	102
	push	_162
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_4208
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4210
	call	_brl_blitz_ArrayBoundsError
_4210:
	push	0
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_4211
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4213
	call	_brl_blitz_ArrayBoundsError
_4213:
	push	2
	push	83
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	103
	push	_163
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_4214
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4216
	call	_brl_blitz_ArrayBoundsError
_4216:
	push	0
	push	0
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_4217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4219
	call	_brl_blitz_ArrayBoundsError
_4219:
	push	2
	push	115
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	push	105
	push	_164
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_4220
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4222
	call	_brl_blitz_NullObjectError
_4222:
	push	dword [ebx+8]
	call	_maxgui_maxgui_UpdateWindowMenu
	add	esp,4
	push	_4223
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4225
	call	_brl_blitz_NullObjectError
_4225:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4230
	push	eax
	call	_bbGCFree
	add	esp,4
_4230:
	mov	dword [esi+20],ebx
	mov	ebx,0
	jmp	_625
_625:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ProjectSelector_New:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbEmptyString
	mov	eax,ebp
	push	eax
	push	_4349
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_ProjectSelector
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+32],eax
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	eax,ebp
	push	eax
	push	_4348
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4241
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	4
	push	_4243
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_4245
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4247
	call	_brl_blitz_NullObjectError
_4247:
	push	_bbNullObject
	push	1106247680
	call	_brl_timer_CreateTimer
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_4252
	push	eax
	call	_bbGCFree
	add	esp,4
_4252:
	mov	dword [esi+36],ebx
	push	_4253
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4255
	call	_brl_blitz_NullObjectError
_4255:
	push	513
	push	_bbNullObject
	push	400
	push	400
	push	0
	push	0
	push	_165
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4260
	push	eax
	call	_bbGCFree
	add	esp,4
_4260:
	mov	dword [esi+8],ebx
	push	_4261
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4263
	call	_brl_blitz_NullObjectError
_4263:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4266
	call	_brl_blitz_NullObjectError
_4266:
	push	_1
	push	0
	push	dword [ebx+8]
	push	210
	push	400
	push	0
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4270
	push	eax
	call	_bbGCFree
	add	esp,4
_4270:
	mov	dword [esi+12],ebx
	push	_4271
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4273
	call	_brl_blitz_NullObjectError
_4273:
	push	_166
	call	_brl_pixmap_LoadPixmap
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4278
	push	eax
	call	_bbGCFree
	add	esp,4
_4278:
	mov	dword [esi+16],ebx
	push	_4279
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4281
	call	_brl_blitz_NullObjectError
_4281:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4283
	call	_brl_blitz_NullObjectError
_4283:
	push	0
	push	dword [ebx+16]
	push	dword [esi+12]
	call	_maxgui_maxgui_SetPanelPixmap
	add	esp,12
	push	_4284
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4286
	call	_brl_blitz_ArrayBoundsError
_4286:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4289
	call	_brl_blitz_NullObjectError
_4289:
	push	0
	push	dword [ebx+8]
	push	100
	push	370
	push	230
	push	10
	call	_maxgui_maxgui_CreateListBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4293
	push	eax
	call	_bbGCFree
	add	esp,4
_4293:
	mov	dword [esi+24],ebx
	push	_4294
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_167
	call	_brl_filesystem_ReadDir
	add	esp,4
	mov	dword [ebp-12],eax
	push	_4296
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbEmptyString
	push	_4298
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_170:
	mov	eax,ebp
	push	eax
	push	_4309
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4299
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_NextFile
	add	esp,4
	mov	dword [ebp-16],eax
	push	_4300
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_88
	push	dword [ebp-16]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_4301
	push	_89
	push	dword [ebp-16]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_4301:
	cmp	eax,0
	je	_4303
	mov	eax,ebp
	push	eax
	push	_4305
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4304
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_168
_4303:
	push	_4306
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4308
	call	_brl_blitz_ArrayBoundsError
_4308:
	push	dword [ebp-16]
	push	_1
	push	-1
	push	0
	push	dword [ebp-16]
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	call	dword [_bbOnDebugLeaveScope]
_168:
	push	_1
	push	dword [ebp-16]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_170
_169:
	push	_4310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4312
	call	_brl_blitz_ArrayBoundsError
_4312:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4315
	call	_brl_blitz_NullObjectError
_4315:
	push	8
	push	dword [ebx+8]
	push	20
	push	120
	push	340
	push	10
	push	_153
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4319
	push	eax
	call	_bbGCFree
	add	esp,4
_4319:
	mov	dword [esi+24],ebx
	push	_4320
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4322
	call	_brl_blitz_ArrayBoundsError
_4322:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4325
	call	_brl_blitz_NullObjectError
_4325:
	push	8
	push	dword [ebx+8]
	push	20
	push	120
	push	340
	push	130
	push	_171
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4329
	push	eax
	call	_bbGCFree
	add	esp,4
_4329:
	mov	dword [esi+24],ebx
	push	_4330
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4332
	call	_brl_blitz_ArrayBoundsError
_4332:
	mov	esi,dword [ebp-8]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4335
	call	_brl_blitz_NullObjectError
_4335:
	push	8
	push	dword [ebx+8]
	push	20
	push	120
	push	340
	push	260
	push	_119
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4339
	push	eax
	call	_bbGCFree
	add	esp,4
_4339:
	mov	dword [esi+24],ebx
	push	_4340
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4342
	call	_brl_blitz_NullObjectError
_4342:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4347
	push	eax
	call	_bbGCFree
	add	esp,4
_4347:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_628
_628:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ProjectSelector_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_631:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_4352
	push	eax
	call	_bbGCFree
	add	esp,4
_4352:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4354
	push	eax
	call	_bbGCFree
	add	esp,4
_4354:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4356
	push	eax
	call	_bbGCFree
	add	esp,4
_4356:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4358
	push	eax
	call	_bbGCFree
	add	esp,4
_4358:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4360
	push	eax
	call	_bbGCFree
	add	esp,4
_4360:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4362
	push	eax
	call	_bbGCFree
	add	esp,4
_4362:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_4364
	push	eax
	call	_bbGCFree
	add	esp,4
_4364:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4366
	push	eax
	call	_bbGCFree
	add	esp,4
_4366:
	mov	eax,0
	jmp	_4350
_4350:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ProjectSelector_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_4512
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventID
	mov	dword [ebp-8],eax
	push	_4369
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	dword [ebp-12],eax
	push	_4371
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_WaitEvent
	push	_4372
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4374
	call	_brl_blitz_NullObjectError
_4374:
	cmp	dword [ebx+28],_bbNullObject
	je	_4375
	mov	eax,ebp
	push	eax
	push	_4381
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4376
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4378
	call	_brl_blitz_NullObjectError
_4378:
	mov	ebx,dword [ebx+28]
	cmp	ebx,_bbNullObject
	jne	_4380
	call	_brl_blitz_NullObjectError
_4380:
	push	_bbNullObject
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_4375:
	push	_4382
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,16387
	je	_4385
	cmp	eax,8193
	je	_4386
	jmp	_4384
_4385:
	mov	eax,ebp
	push	eax
	push	_4393
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4387
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4389
	call	_brl_blitz_NullObjectError
_4389:
	mov	eax,dword [ebx+8]
	cmp	dword [ebp-12],eax
	jne	_4390
	mov	eax,ebp
	push	eax
	push	_4392
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4391
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
_4390:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4384
_4386:
	mov	eax,ebp
	push	eax
	push	_4511
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4394
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-12]
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4399
	call	_brl_blitz_NullObjectError
_4399:
	mov	esi,dword [ebx+24]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_4402
	call	_brl_blitz_ArrayBoundsError
_4402:
	cmp	edi,dword [esi+ebx*4+24]
	je	_4397
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4405
	call	_brl_blitz_NullObjectError
_4405:
	mov	esi,dword [ebx+24]
	mov	ebx,3
	cmp	ebx,dword [esi+20]
	jb	_4408
	call	_brl_blitz_ArrayBoundsError
_4408:
	cmp	edi,dword [esi+ebx*4+24]
	je	_4403
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4411
	call	_brl_blitz_NullObjectError
_4411:
	mov	esi,dword [ebx+24]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_4414
	call	_brl_blitz_ArrayBoundsError
_4414:
	cmp	edi,dword [esi+ebx*4+24]
	je	_4409
	jmp	_4396
_4397:
	mov	eax,ebp
	push	eax
	push	_4435
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4417
	call	_brl_blitz_NullObjectError
_4417:
	push	_bb_NewProjectWindow
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_4422
	push	eax
	call	_bbGCFree
	add	esp,4
_4422:
	mov	dword [esi+28],ebx
	push	_4423
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4425
	call	_brl_blitz_NullObjectError
_4425:
	mov	esi,dword [ebx+28]
	cmp	esi,_bbNullObject
	jne	_4427
	call	_brl_blitz_NullObjectError
_4427:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4429
	call	_brl_blitz_NullObjectError
_4429:
	push	dword [ebx+32]
	push	200
	push	400
	push	0
	push	0
	push	_153
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,28
	push	_4430
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4432
	call	_brl_blitz_NullObjectError
_4432:
	mov	ebx,dword [ebx+28]
	cmp	ebx,_bbNullObject
	jne	_4434
	call	_brl_blitz_NullObjectError
_4434:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4396
_4403:
	mov	eax,ebp
	push	eax
	push	_4437
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4396
_4409:
	mov	eax,ebp
	push	eax
	push	_4510
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4440
	call	_brl_blitz_NullObjectError
_4440:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_4443
	call	_brl_blitz_ArrayBoundsError
_4443:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	cmp	eax,-1
	je	_4444
	mov	eax,ebp
	push	eax
	push	_4506
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4445
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4447
	call	_brl_blitz_NullObjectError
_4447:
	mov	eax,dword [ebx+24]
	mov	dword [ebp-16],eax
	mov	edi,0
	mov	eax,dword [ebp-16]
	cmp	edi,dword [eax+20]
	jb	_4450
	call	_brl_blitz_ArrayBoundsError
_4450:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4452
	call	_brl_blitz_NullObjectError
_4452:
	mov	esi,dword [ebx+24]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_4455
	call	_brl_blitz_ArrayBoundsError
_4455:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	push	eax
	mov	eax,dword [ebp-16]
	push	dword [eax+edi*4+24]
	call	_maxgui_maxgui_GadgetItemText
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_CurrentProject]
	dec	dword [eax+4]
	jnz	_4459
	push	eax
	call	_bbGCFree
	add	esp,4
_4459:
	mov	dword [_bb_CurrentProject],ebx
	push	_4460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_MainEd],_bbNullObject
	je	_4461
	mov	eax,ebp
	push	eax
	push	_4470
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4462
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_4464
	call	_brl_blitz_NullObjectError
_4464:
	cmp	dword [ebx+8],_bbNullObject
	je	_4465
	mov	eax,ebp
	push	eax
	push	_4469
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4466
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_4468
	call	_brl_blitz_NullObjectError
_4468:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_4465:
	call	dword [_bbOnDebugLeaveScope]
_4461:
	push	_4471
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_Config]
	cmp	ebx,_bbNullObject
	jne	_4473
	call	_brl_blitz_NullObjectError
_4473:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	_4474
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_CurrentProject]
	push	_143
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_4478
	push	eax
	call	_bbGCFree
	add	esp,4
_4478:
	mov	dword [_bbAppTitle],ebx
	push	_4479
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_Proj],_bbNullObject
	je	_4480
	mov	eax,ebp
	push	eax
	push	_4489
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4481
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_Proj]
	cmp	ebx,_bbNullObject
	jne	_4483
	call	_brl_blitz_NullObjectError
_4483:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_4484
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_bb_Proj]
	dec	dword [eax+4]
	jnz	_4488
	push	eax
	call	_bbGCFree
	add	esp,4
_4488:
	mov	dword [_bb_Proj],ebx
	call	dword [_bbOnDebugLeaveScope]
_4480:
	push	_4490
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Editor_Main
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_MainEd]
	dec	dword [eax+4]
	jnz	_4494
	push	eax
	call	_bbGCFree
	add	esp,4
_4494:
	mov	dword [_bb_MainEd],ebx
	push	_4495
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEd]
	cmp	ebx,_bbNullObject
	jne	_4497
	call	_brl_blitz_NullObjectError
_4497:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_4498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4500
	call	_brl_blitz_NullObjectError
_4500:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_4501
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_bb_Proj]
	dec	dword [eax+4]
	jnz	_4505
	push	eax
	call	_bbGCFree
	add	esp,4
_4505:
	mov	dword [_bb_Proj],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4507
_4444:
	mov	eax,ebp
	push	eax
	push	_4509
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4508
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_172
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_4507:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4396
_4396:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4384
_4384:
	mov	ebx,0
	jmp	_634
_634:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Configuration_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4514
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Configuration
	push	ebp
	push	_4513
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_637
_637:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Configuration_Delete:
	push	ebp
	mov	ebp,esp
_640:
	mov	eax,0
	jmp	_4515
_4515:
	mov	esp,ebp
	pop	ebp
	ret
__bb_Configuration_LoadConfig:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	push	ebp
	push	_4564
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4516
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	push	_4519
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_173
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_4520
	push	ebp
	push	_4522
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4521
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_643
_4520:
	push	_4523
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4525
	call	_brl_blitz_NullObjectError
_4525:
	push	_173
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	push	_4526
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4528
	call	_brl_blitz_NullObjectError
_4528:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_4530
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],_bbNullObject
	jne	_4531
	push	ebp
	push	_4533
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4532
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_643
_4531:
	push	_4534
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_4536
	call	_brl_blitz_NullObjectError
_4536:
	push	1
	push	1
	push	_174
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+104]
	add	esp,16
	mov	dword [ebp-16],eax
	push	_4538
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	jne	_4539
	push	ebp
	push	_4541
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4540
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_643
_4539:
	push	_4542
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_4544
	call	_brl_blitz_NullObjectError
_4544:
	push	1
	push	1
	push	_175
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+104]
	add	esp,16
	mov	dword [ebp-20],eax
	push	_4546
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	jne	_4547
	push	ebp
	push	_4549
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4548
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_643
_4547:
	push	_4550
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_4552
	call	_brl_blitz_NullObjectError
_4552:
	push	1
	push	_176
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_4554
	call	_brl_blitz_NullObjectError
_4554:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [_bb_CurrentProject]
	dec	dword [eax+4]
	jnz	_4558
	push	eax
	call	_bbGCFree
	add	esp,4
_4558:
	mov	dword [_bb_CurrentProject],ebx
	push	_4559
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_CurrentProject]
	push	_143
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_4563
	push	eax
	call	_bbGCFree
	add	esp,4
_4563:
	mov	dword [_bbAppTitle],ebx
	mov	ebx,0
	jmp	_643
_643:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Configuration_SaveConfig:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	push	ebp
	push	_4596
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4569
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-8],eax
	push	_4571
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4573
	call	_brl_blitz_NullObjectError
_4573:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_4575
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_4577
	call	_brl_blitz_NullObjectError
_4577:
	push	1
	push	_174
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-16],eax
	push	_4579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_4581
	call	_brl_blitz_NullObjectError
_4581:
	push	1
	push	_175
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-20],eax
	push	_4583
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_4585
	call	_brl_blitz_NullObjectError
_4585:
	push	1
	push	_176
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_4587
	call	_brl_blitz_NullObjectError
_4587:
	mov	ebx,dword [_bb_CurrentProject]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_4592
	push	eax
	call	_bbGCFree
	add	esp,4
_4592:
	mov	dword [esi+12],ebx
	push	_4593
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4595
	call	_brl_blitz_NullObjectError
_4595:
	push	1
	push	_173
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	mov	ebx,0
	jmp	_646
_646:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_757:
	dd	0
_709:
	db	"Editor",0
_710:
	db	"ASSET_VOID",0
_184:
	db	"i",0
	align	4
_711:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	48
_712:
	db	"ASSET_IMAGE",0
	align	4
_713:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_714:
	db	"ASSET_SCRIPT",0
	align	4
_715:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	50
_716:
	db	"ASSET_TILESET",0
	align	4
_717:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	51
_718:
	db	"ASSET_SPRITE",0
	align	4
_719:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	52
_720:
	db	"ASSET_MAP",0
	align	4
_721:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	53
_722:
	db	"ASSET_SOUND",0
	align	4
_723:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	54
_724:
	db	"ASSET_MUSIC",0
	align	4
_725:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	55
_726:
	db	"ASSET_OBJECT",0
	align	4
_727:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	56
_728:
	db	"TOOL_TYPE_DEF",0
_729:
	db	"TOOL_TYPE_TILE",0
_730:
	db	"TOOL_TYPE_MAP",0
_731:
	db	"MENU_NEW_PROJECT",0
	align	4
_732:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,49
_733:
	db	"MENU_OPEN_PROJECT",0
	align	4
_734:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,50
_735:
	db	"MENU_SAVE_PROJECT",0
	align	4
_736:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,51
_737:
	db	"MENU_EXIT",0
	align	4
_738:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,53
_739:
	db	"MENU_CUT",0
	align	4
_740:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,54
_741:
	db	"MENU_COPY",0
	align	4
_742:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,55
_743:
	db	"MENU_PASTE",0
	align	4
_744:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,56
_745:
	db	"MENU_ABOUT",0
	align	4
_746:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,57
_747:
	db	"TilesetList",0
_280:
	db	":brl.linkedlist.TList",0
	align	4
_bb_TilesetList:
	dd	_bbNullObject
_748:
	db	"Maplist",0
	align	4
_bb_Maplist:
	dd	_bbNullObject
_749:
	db	"Asset_List",0
	align	4
_bb_Asset_List:
	dd	_bbNullObject
_750:
	db	"CurrentProject",0
_226:
	db	"$",0
	align	4
_bb_CurrentProject:
	dd	_bbEmptyString
_751:
	db	"Config",0
_752:
	db	":Configuration",0
	align	4
_bb_Config:
	dd	_bbNullObject
_753:
	db	"MainEd",0
_754:
	db	":Editor_Main",0
	align	4
_bb_MainEd:
	dd	_bbNullObject
_755:
	db	"Proj",0
_756:
	db	":ProjectSelector",0
	align	4
_bb_Proj:
	dd	_bbNullObject
	align	4
_708:
	dd	1
	dd	_709
	dd	1
	dd	_710
	dd	_184
	dd	_711
	dd	1
	dd	_712
	dd	_184
	dd	_713
	dd	1
	dd	_714
	dd	_184
	dd	_715
	dd	1
	dd	_716
	dd	_184
	dd	_717
	dd	1
	dd	_718
	dd	_184
	dd	_719
	dd	1
	dd	_720
	dd	_184
	dd	_721
	dd	1
	dd	_722
	dd	_184
	dd	_723
	dd	1
	dd	_724
	dd	_184
	dd	_725
	dd	1
	dd	_726
	dd	_184
	dd	_727
	dd	1
	dd	_728
	dd	_184
	dd	_711
	dd	1
	dd	_729
	dd	_184
	dd	_713
	dd	1
	dd	_730
	dd	_184
	dd	_715
	dd	1
	dd	_731
	dd	_184
	dd	_732
	dd	1
	dd	_733
	dd	_184
	dd	_734
	dd	1
	dd	_735
	dd	_184
	dd	_736
	dd	1
	dd	_737
	dd	_184
	dd	_738
	dd	1
	dd	_739
	dd	_184
	dd	_740
	dd	1
	dd	_741
	dd	_184
	dd	_742
	dd	1
	dd	_743
	dd	_184
	dd	_744
	dd	1
	dd	_745
	dd	_184
	dd	_746
	dd	4
	dd	_747
	dd	_280
	dd	_bb_TilesetList
	dd	4
	dd	_748
	dd	_280
	dd	_bb_Maplist
	dd	4
	dd	_749
	dd	_280
	dd	_bb_Asset_List
	dd	4
	dd	_750
	dd	_226
	dd	_bb_CurrentProject
	dd	4
	dd	_751
	dd	_752
	dd	_bb_Config
	dd	4
	dd	_753
	dd	_754
	dd	_bb_MainEd
	dd	4
	dd	_755
	dd	_756
	dd	_bb_Proj
	dd	0
_224:
	db	"Asset",0
_225:
	db	"FileName",0
_227:
	db	"FileBank",0
_228:
	db	":brl.bank.TBank",0
_229:
	db	"AssetParent",0
_230:
	db	":Asset",0
_231:
	db	"AssetType",0
_232:
	db	"AssetPath",0
_233:
	db	"ShortName",0
_234:
	db	"Description",0
_235:
	db	"Flags",0
_192:
	db	"New",0
_193:
	db	"()i",0
_194:
	db	"Delete",0
_196:
	db	"Save",0
_195:
	db	"Load",0
_236:
	db	"FetchAssetPath",0
_237:
	db	"()$",0
_238:
	db	"LoadAsset",0
_239:
	db	"($,$):Asset",0
	align	4
_223:
	dd	2
	dd	_224
	dd	3
	dd	_225
	dd	_226
	dd	8
	dd	3
	dd	_227
	dd	_228
	dd	12
	dd	3
	dd	_229
	dd	_230
	dd	16
	dd	3
	dd	_231
	dd	_184
	dd	20
	dd	3
	dd	_232
	dd	_226
	dd	24
	dd	3
	dd	_233
	dd	_226
	dd	28
	dd	3
	dd	_234
	dd	_226
	dd	32
	dd	3
	dd	_235
	dd	_184
	dd	36
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_196
	dd	_193
	dd	48
	dd	6
	dd	_195
	dd	_193
	dd	52
	dd	6
	dd	_236
	dd	_237
	dd	56
	dd	6
	dd	_238
	dd	_239
	dd	60
	dd	0
	align	4
_bb_Asset:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_223
	dd	40
	dd	__bb_Asset_New
	dd	__bb_Asset_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Asset_Save
	dd	__bb_Asset_Load
	dd	__bb_Asset_FetchAssetPath
	dd	__bb_Asset_LoadAsset
_182:
	db	"Tileset",0
_183:
	db	"Frames",0
_185:
	db	"Cell_W",0
_186:
	db	"Cell_H",0
_187:
	db	"Tileset_Img",0
_188:
	db	":brl.max2d.TImage",0
_189:
	db	"Mask_R",0
_190:
	db	"Mask_G",0
_191:
	db	"Mask_B",0
_197:
	db	"TilesetFromBank",0
_198:
	db	"(:brl.bank.TBank,i,i,i,i)i",0
	align	4
_181:
	dd	2
	dd	_182
	dd	3
	dd	_183
	dd	_184
	dd	40
	dd	3
	dd	_185
	dd	_184
	dd	44
	dd	3
	dd	_186
	dd	_184
	dd	48
	dd	3
	dd	_187
	dd	_188
	dd	52
	dd	3
	dd	_189
	dd	_184
	dd	56
	dd	3
	dd	_190
	dd	_184
	dd	60
	dd	3
	dd	_191
	dd	_184
	dd	64
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_195
	dd	_193
	dd	52
	dd	6
	dd	_196
	dd	_193
	dd	48
	dd	6
	dd	_197
	dd	_198
	dd	64
	dd	0
	align	4
_bb_Tileset:
	dd	_bb_Asset
	dd	_bbObjectFree
	dd	_181
	dd	68
	dd	__bb_Tileset_New
	dd	__bb_Tileset_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Tileset_Save
	dd	__bb_Tileset_Load
	dd	__bb_Asset_FetchAssetPath
	dd	__bb_Asset_LoadAsset
	dd	__bb_Tileset_TilesetFromBank
_200:
	db	"Map",0
_201:
	db	":Tileset",0
_202:
	db	"Walls",0
_203:
	db	"[]:Wall",0
_204:
	db	"Tiles",0
_205:
	db	"[]i",0
_206:
	db	"Map_W",0
_207:
	db	"Map_H",0
_208:
	db	"LR",0
_209:
	db	"LG",0
_210:
	db	"LB",0
_211:
	db	"Setup",0
_212:
	db	"($,i,i,:Tileset)i",0
	align	4
_199:
	dd	2
	dd	_200
	dd	3
	dd	_182
	dd	_201
	dd	40
	dd	3
	dd	_202
	dd	_203
	dd	44
	dd	3
	dd	_204
	dd	_205
	dd	48
	dd	3
	dd	_206
	dd	_184
	dd	52
	dd	3
	dd	_207
	dd	_184
	dd	56
	dd	3
	dd	_208
	dd	_184
	dd	60
	dd	3
	dd	_209
	dd	_184
	dd	64
	dd	3
	dd	_210
	dd	_184
	dd	68
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_211
	dd	_212
	dd	64
	dd	0
	align	4
_bb_Map:
	dd	_bb_Asset
	dd	_bbObjectFree
	dd	_199
	dd	72
	dd	__bb_Map_New
	dd	__bb_Map_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Asset_Save
	dd	__bb_Asset_Load
	dd	__bb_Asset_FetchAssetPath
	dd	__bb_Asset_LoadAsset
	dd	__bb_Map_Setup
_214:
	db	"Wall",0
_215:
	db	"x",0
_216:
	db	"y",0
_217:
	db	"w",0
_218:
	db	"h",0
_219:
	db	"Block",0
_220:
	db	"b",0
	align	4
_213:
	dd	2
	dd	_214
	dd	3
	dd	_215
	dd	_184
	dd	8
	dd	3
	dd	_216
	dd	_184
	dd	12
	dd	3
	dd	_217
	dd	_184
	dd	16
	dd	3
	dd	_218
	dd	_184
	dd	20
	dd	3
	dd	_219
	dd	_220
	dd	24
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	0
	align	4
_bb_Wall:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_213
	dd	25
	dd	__bb_Wall_New
	dd	__bb_Wall_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_222:
	db	"Script",0
	align	4
_221:
	dd	2
	dd	_222
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	0
	align	4
_bb_Script:
	dd	_bb_Asset
	dd	_bbObjectFree
	dd	_221
	dd	40
	dd	__bb_Script_New
	dd	__bb_Script_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Asset_Save
	dd	__bb_Asset_Load
	dd	__bb_Asset_FetchAssetPath
	dd	__bb_Asset_LoadAsset
_241:
	db	"Widget",0
_242:
	db	"Panel",0
_243:
	db	":maxgui.maxgui.TGadget",0
_244:
	db	"Parent",0
_245:
	db	"Pos",0
_246:
	db	":UIRect",0
_247:
	db	"Title",0
_248:
	db	"Gadgets",0
_249:
	db	"[]:maxgui.maxgui.TGadget",0
_250:
	db	"IconAsset",0
_251:
	db	"IconStrip",0
_252:
	db	":maxgui.maxgui.TIconStrip",0
_253:
	db	"SetShape",0
_254:
	db	"(i,i,i,i)i",0
_255:
	db	"SetIconAsset",0
_256:
	db	"(:Asset)i",0
_257:
	db	"SetAll",0
_258:
	db	"($,i,i,i,i,:maxgui.maxgui.TGadget)i",0
_259:
	db	"SetTitle",0
_260:
	db	"($)i",0
_261:
	db	"Set",0
_262:
	db	"Update",0
_263:
	db	"(i,:Object,:Object)i",0
	align	4
_240:
	dd	2
	dd	_241
	dd	3
	dd	_242
	dd	_243
	dd	8
	dd	3
	dd	_244
	dd	_243
	dd	12
	dd	3
	dd	_245
	dd	_246
	dd	16
	dd	3
	dd	_247
	dd	_226
	dd	20
	dd	3
	dd	_248
	dd	_249
	dd	24
	dd	3
	dd	_250
	dd	_230
	dd	28
	dd	3
	dd	_251
	dd	_252
	dd	32
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_253
	dd	_254
	dd	48
	dd	6
	dd	_255
	dd	_256
	dd	52
	dd	6
	dd	_257
	dd	_258
	dd	56
	dd	6
	dd	_259
	dd	_260
	dd	60
	dd	6
	dd	_261
	dd	_193
	dd	64
	dd	6
	dd	_262
	dd	_263
	dd	68
	dd	0
	align	4
_bb_Widget:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_240
	dd	36
	dd	__bb_Widget_New
	dd	__bb_Widget_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Widget_SetShape
	dd	__bb_Widget_SetIconAsset
	dd	__bb_Widget_SetAll
	dd	__bb_Widget_SetTitle
	dd	__bb_Widget_Set
	dd	__bb_Widget_Update
_265:
	db	"UIRect",0
	align	4
_264:
	dd	2
	dd	_265
	dd	3
	dd	_215
	dd	_184
	dd	8
	dd	3
	dd	_216
	dd	_184
	dd	12
	dd	3
	dd	_217
	dd	_184
	dd	16
	dd	3
	dd	_218
	dd	_184
	dd	20
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_261
	dd	_254
	dd	48
	dd	0
	align	4
_bb_UIRect:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_264
	dd	24
	dd	__bb_UIRect_New
	dd	__bb_UIRect_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_UIRect_Set
_286:
	db	"Tab_Module",0
_287:
	db	"Index",0
_288:
	db	"IsActive",0
_289:
	db	"Tab_Gadgets",0
_290:
	db	"[]:Widget",0
_291:
	db	"AddModule",0
_292:
	db	"(:maxgui.maxgui.TGadget,b)i",0
	align	4
_285:
	dd	2
	dd	_286
	dd	3
	dd	_287
	dd	_184
	dd	8
	dd	3
	dd	_242
	dd	_243
	dd	12
	dd	3
	dd	_247
	dd	_226
	dd	16
	dd	3
	dd	_288
	dd	_220
	dd	20
	dd	3
	dd	_289
	dd	_290
	dd	24
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_291
	dd	_292
	dd	48
	dd	6
	dd	_261
	dd	_193
	dd	52
	dd	6
	dd	_262
	dd	_263
	dd	56
	dd	0
	align	4
_bb_Tab_Module:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_285
	dd	28
	dd	__bb_Tab_Module_New
	dd	__bb_Tab_Module_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Tab_Module_AddModule
	dd	__bb_Tab_Module_Set
	dd	__bb_Tab_Module_Update
_267:
	db	"MapEditor_Module",0
	align	4
_266:
	dd	2
	dd	_267
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_261
	dd	_193
	dd	52
	dd	0
	align	4
_bb_MapEditor_Module:
	dd	_bb_Tab_Module
	dd	_bbObjectFree
	dd	_266
	dd	28
	dd	__bb_MapEditor_Module_New
	dd	__bb_MapEditor_Module_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Tab_Module_AddModule
	dd	__bb_MapEditor_Module_Set
	dd	__bb_Tab_Module_Update
_269:
	db	"Mapeditor_Widget",0
_270:
	db	"Current_TileSet",0
_271:
	db	":TileSet",0
_272:
	db	"Current_Map",0
_273:
	db	":Map",0
_274:
	db	"FPS_Timer",0
_275:
	db	":brl.timer.TTimer",0
_276:
	db	"FPS",0
	align	4
_268:
	dd	2
	dd	_269
	dd	3
	dd	_270
	dd	_271
	dd	36
	dd	3
	dd	_272
	dd	_273
	dd	40
	dd	3
	dd	_274
	dd	_275
	dd	44
	dd	3
	dd	_276
	dd	_184
	dd	48
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_263
	dd	68
	dd	6
	dd	_261
	dd	_193
	dd	64
	dd	0
	align	4
_bb_Mapeditor_Widget:
	dd	_bb_Widget
	dd	_bbObjectFree
	dd	_268
	dd	52
	dd	__bb_Mapeditor_Widget_New
	dd	__bb_Mapeditor_Widget_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Widget_SetShape
	dd	__bb_Widget_SetIconAsset
	dd	__bb_Widget_SetAll
	dd	__bb_Widget_SetTitle
	dd	__bb_Mapeditor_Widget_Set
	dd	__bb_Mapeditor_Widget_Update
_278:
	db	"Asset_Widget",0
_279:
	db	"Asset_list",0
_281:
	db	"Tool_windows",0
_282:
	db	"Add_Tileset",0
_283:
	db	"LoadAssets",0
_284:
	db	"(:maxgui.maxgui.TGadget,$)i",0
	align	4
_277:
	dd	2
	dd	_278
	dd	3
	dd	_279
	dd	_280
	dd	36
	dd	3
	dd	_281
	dd	_280
	dd	40
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_263
	dd	68
	dd	6
	dd	_282
	dd	_193
	dd	72
	dd	6
	dd	_261
	dd	_193
	dd	64
	dd	6
	dd	_283
	dd	_284
	dd	76
	dd	0
	align	4
_bb_Asset_Widget:
	dd	_bb_Widget
	dd	_bbObjectFree
	dd	_277
	dd	44
	dd	__bb_Asset_Widget_New
	dd	__bb_Asset_Widget_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Widget_SetShape
	dd	__bb_Widget_SetIconAsset
	dd	__bb_Widget_SetAll
	dd	__bb_Widget_SetTitle
	dd	__bb_Asset_Widget_Set
	dd	__bb_Asset_Widget_Update
	dd	__bb_Asset_Widget_Add_Tileset
	dd	__bb_Asset_Widget_LoadAssets
_302:
	db	"ToolWindow",0
_303:
	db	"Window",0
_304:
	db	"ToolType",0
_305:
	db	"ParentList",0
_306:
	db	"AssetNode",0
_307:
	db	"EditMode",0
_308:
	db	"($,i,i,i,i,:brl.linkedlist.TList)i",0
	align	4
_301:
	dd	2
	dd	_302
	dd	3
	dd	_303
	dd	_243
	dd	8
	dd	3
	dd	_245
	dd	_246
	dd	12
	dd	3
	dd	_247
	dd	_226
	dd	16
	dd	3
	dd	_248
	dd	_249
	dd	20
	dd	3
	dd	_304
	dd	_184
	dd	24
	dd	3
	dd	_305
	dd	_280
	dd	28
	dd	3
	dd	_306
	dd	_243
	dd	32
	dd	3
	dd	_307
	dd	_220
	dd	36
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_263
	dd	48
	dd	6
	dd	_257
	dd	_308
	dd	52
	dd	6
	dd	_261
	dd	_193
	dd	56
	dd	0
	align	4
_bb_ToolWindow:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_301
	dd	37
	dd	__bb_ToolWindow_New
	dd	__bb_ToolWindow_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_ToolWindow_Update
	dd	__bb_ToolWindow_SetAll
	dd	__bb_ToolWindow_Set
_294:
	db	"TilesetWindow",0
_295:
	db	"TileAsset",0
	align	4
_293:
	dd	2
	dd	_294
	dd	3
	dd	_295
	dd	_201
	dd	40
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_263
	dd	48
	dd	6
	dd	_261
	dd	_193
	dd	56
	dd	0
	align	4
_bb_TilesetWindow:
	dd	_bb_ToolWindow
	dd	_bbObjectFree
	dd	_293
	dd	44
	dd	__bb_TilesetWindow_New
	dd	__bb_TilesetWindow_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TilesetWindow_Update
	dd	__bb_ToolWindow_SetAll
	dd	__bb_TilesetWindow_Set
_297:
	db	"MapWindow",0
_298:
	db	"MapAsset",0
	align	4
_296:
	dd	2
	dd	_297
	dd	3
	dd	_298
	dd	_273
	dd	40
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_263
	dd	48
	dd	6
	dd	_261
	dd	_193
	dd	56
	dd	0
	align	4
_bb_MapWindow:
	dd	_bb_ToolWindow
	dd	_bbObjectFree
	dd	_296
	dd	44
	dd	__bb_MapWindow_New
	dd	__bb_MapWindow_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_MapWindow_Update
	dd	__bb_ToolWindow_SetAll
	dd	__bb_MapWindow_Set
_300:
	db	"NewProjectWindow",0
	align	4
_299:
	dd	2
	dd	_300
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_263
	dd	48
	dd	6
	dd	_261
	dd	_193
	dd	56
	dd	0
	align	4
_bb_NewProjectWindow:
	dd	_bb_ToolWindow
	dd	_bbObjectFree
	dd	_299
	dd	37
	dd	__bb_NewProjectWindow_New
	dd	__bb_NewProjectWindow_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_NewProjectWindow_Update
	dd	__bb_ToolWindow_SetAll
	dd	__bb_NewProjectWindow_Set
_310:
	db	"Editor_Main",0
_311:
	db	"MainWindow",0
_312:
	db	"WinSize",0
_313:
	db	"WinFlags",0
_314:
	db	"MenuItems",0
_315:
	db	"Modules",0
_316:
	db	"[]:Tab_Module",0
_317:
	db	"Module_Gadget",0
_318:
	db	"Tool_Windows",0
_319:
	db	"Init",0
_320:
	db	"New_Rect",0
_321:
	db	"(i,i,i,i):UIRect",0
_322:
	db	"SetWindow",0
_323:
	db	"(:UIRect)i",0
_324:
	db	"UpdateUI",0
_325:
	db	"SetMenu",0
	align	4
_309:
	dd	2
	dd	_310
	dd	3
	dd	_311
	dd	_243
	dd	8
	dd	3
	dd	_312
	dd	_246
	dd	12
	dd	3
	dd	_313
	dd	_184
	dd	16
	dd	3
	dd	_314
	dd	_249
	dd	20
	dd	3
	dd	_315
	dd	_316
	dd	24
	dd	3
	dd	_317
	dd	_243
	dd	28
	dd	3
	dd	_318
	dd	_280
	dd	32
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_319
	dd	_193
	dd	48
	dd	6
	dd	_320
	dd	_321
	dd	52
	dd	6
	dd	_322
	dd	_323
	dd	56
	dd	6
	dd	_324
	dd	_193
	dd	60
	dd	6
	dd	_325
	dd	_193
	dd	64
	dd	0
	align	4
_bb_Editor_Main:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_309
	dd	36
	dd	__bb_Editor_Main_New
	dd	__bb_Editor_Main_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Editor_Main_Init
	dd	__bb_Editor_Main_New_Rect
	dd	__bb_Editor_Main_SetWindow
	dd	__bb_Editor_Main_UpdateUI
	dd	__bb_Editor_Main_SetMenu
_327:
	db	"ProjectSelector",0
_328:
	db	"LogoPanel",0
_329:
	db	"Logo",0
_330:
	db	":brl.pixmap.TPixmap",0
_331:
	db	"ProjWin",0
_332:
	db	":NewProjectWindow",0
_333:
	db	"Tool_List",0
_334:
	db	"QuickTimer",0
	align	4
_326:
	dd	2
	dd	_327
	dd	3
	dd	_303
	dd	_243
	dd	8
	dd	3
	dd	_328
	dd	_243
	dd	12
	dd	3
	dd	_329
	dd	_330
	dd	16
	dd	3
	dd	_245
	dd	_246
	dd	20
	dd	3
	dd	_248
	dd	_249
	dd	24
	dd	3
	dd	_331
	dd	_332
	dd	28
	dd	3
	dd	_333
	dd	_280
	dd	32
	dd	3
	dd	_334
	dd	_275
	dd	36
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_262
	dd	_193
	dd	48
	dd	0
	align	4
_bb_ProjectSelector:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_326
	dd	40
	dd	__bb_ProjectSelector_New
	dd	__bb_ProjectSelector_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_ProjectSelector_Update
_336:
	db	"Configuration",0
_337:
	db	"LoadConfig",0
_338:
	db	"SaveConfig",0
	align	4
_335:
	dd	2
	dd	_336
	dd	6
	dd	_192
	dd	_193
	dd	16
	dd	6
	dd	_194
	dd	_193
	dd	20
	dd	6
	dd	_337
	dd	_193
	dd	48
	dd	6
	dd	_338
	dd	_193
	dd	52
	dd	0
	align	4
_bb_Configuration:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_335
	dd	8
	dd	__bb_Configuration_New
	dd	__bb_Configuration_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Configuration_LoadConfig
	dd	__bb_Configuration_SaveConfig
_649:
	db	"$BMXPATH/projects/spaget/src/Engine/Asset/Tilesets.bmx",0
	align	4
_648:
	dd	_649
	dd	2
	dd	1
	align	4
_651:
	dd	0
_654:
	db	"$BMXPATH/projects/spaget/src/Engine/Asset/Maps.bmx",0
	align	4
_653:
	dd	_654
	dd	4
	dd	1
_658:
	db	"$BMXPATH/projects/spaget/src/Engine/Assets.bmx",0
	align	4
_657:
	dd	_658
	dd	16
	dd	1
_662:
	db	"$BMXPATH/projects/spaget/Editor.bmx",0
	align	4
_661:
	dd	_662
	dd	12
	dd	1
	align	4
_177:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	83,112,97,103,101,116
	align	4
_667:
	dd	_662
	dd	18
	dd	1
	align	4
_668:
	dd	_662
	dd	19
	dd	1
	align	4
_671:
	dd	_662
	dd	20
	dd	1
	align	4
_674:
	dd	_662
	dd	24
	dd	1
	align	4
_675:
	dd	_662
	dd	25
	dd	1
	align	4
_676:
	dd	_662
	dd	28
	dd	1
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	4
_683:
	dd	3
	dd	0
	dd	0
	align	4
_678:
	dd	_662
	dd	29
	dd	2
	align	4
_693:
	dd	3
	dd	0
	dd	0
	align	4
_685:
	dd	_662
	dd	31
	dd	2
	align	4
_690:
	dd	_662
	dd	32
	dd	2
	align	4
_694:
	dd	_662
	dd	47
	dd	1
	align	4
_707:
	dd	3
	dd	0
	dd	0
	align	4
_695:
	dd	_662
	dd	40
	dd	2
	align	4
_700:
	dd	3
	dd	0
	dd	0
	align	4
_697:
	dd	_662
	dd	41
	dd	3
	align	4
_701:
	dd	_662
	dd	43
	dd	2
	align	4
_706:
	dd	3
	dd	0
	dd	0
	align	4
_703:
	dd	_662
	dd	44
	dd	3
_767:
	db	"Self",0
	align	4
_766:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_201
	dd	-4
	dd	0
	align	4
_765:
	dd	3
	dd	0
	dd	0
	align	4
_760:
	dd	_649
	dd	17
	dd	3
	align	4
_764:
	dd	_649
	dd	18
	dd	3
_886:
	db	"tiledoc",0
_887:
	db	":pub.maxml.xmlDocument",0
_888:
	db	"tileroot",0
_889:
	db	":pub.maxml.xmlNode",0
_890:
	db	"TilesetNode",0
	align	4
_885:
	dd	1
	dd	_195
	dd	2
	dd	_767
	dd	_201
	dd	-4
	dd	2
	dd	_886
	dd	_887
	dd	-8
	dd	2
	dd	_888
	dd	_889
	dd	-12
	dd	2
	dd	_890
	dd	_889
	dd	-16
	dd	0
	align	4
_771:
	dd	_649
	dd	23
	dd	3
	align	4
_773:
	dd	_649
	dd	24
	dd	3
	align	4
_778:
	dd	_649
	dd	25
	dd	3
	align	4
_782:
	dd	_649
	dd	27
	dd	3
	align	4
_27:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	84,105,108,101,115,101,116
	align	4
_786:
	dd	_649
	dd	28
	dd	3
	align	4
_28:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	67,101,108,108,87
	align	4
_794:
	dd	_649
	dd	29
	dd	3
	align	4
_29:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	67,101,108,108,72
	align	4
_802:
	dd	_649
	dd	30
	dd	3
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	70,114,97,109,101,115
	align	4
_810:
	dd	_649
	dd	31
	dd	3
	align	4
_31:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,97,115,107,82
	align	4
_818:
	dd	_649
	dd	32
	dd	3
	align	4
_32:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,97,115,107,71
	align	4
_826:
	dd	_649
	dd	33
	dd	3
	align	4
_33:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,97,115,107,66
	align	4
_834:
	dd	_649
	dd	34
	dd	3
	align	4
_34:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	70,108,97,103,115
	align	4
_842:
	dd	_649
	dd	35
	dd	3
	align	4
_35:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	80,97,116,104
	align	4
_854:
	dd	_649
	dd	37
	dd	3
	align	4
_38:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_39:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	92
	align	4
_37:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	80,114,111,106,101,99,116,115,47
	align	4
_36:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	78,101,119,32,70,105,108,101,98,97,110,107,32
	align	4
_857:
	dd	_649
	dd	38
	dd	3
	align	4
_867:
	dd	_649
	dd	39
	dd	3
	align	4
_1017:
	dd	1
	dd	_196
	dd	2
	dd	_767
	dd	_201
	dd	-4
	dd	2
	dd	_886
	dd	_887
	dd	-8
	dd	2
	dd	_888
	dd	_889
	dd	-12
	dd	2
	dd	_890
	dd	_889
	dd	-16
	dd	0
	align	4
_891:
	dd	_649
	dd	47
	dd	3
	align	4
_893:
	dd	_649
	dd	48
	dd	3
	align	4
_897:
	dd	_649
	dd	51
	dd	3
	align	4
_901:
	dd	_649
	dd	52
	dd	3
	align	4
_913:
	dd	_649
	dd	53
	dd	3
	align	4
_925:
	dd	_649
	dd	54
	dd	3
	align	4
_937:
	dd	_649
	dd	55
	dd	3
	align	4
_949:
	dd	_649
	dd	56
	dd	3
	align	4
_961:
	dd	_649
	dd	57
	dd	3
	align	4
_973:
	dd	_649
	dd	58
	dd	3
	align	4
_985:
	dd	_649
	dd	59
	dd	3
	align	4
_997:
	dd	_649
	dd	60
	dd	3
	align	4
_40:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	65,115,115,101,116,32,80,97,116,104,58,32
	align	4
_1000:
	dd	_649
	dd	61
	dd	3
	align	4
_41:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	116,115,101,116
	align	4
_1009:
	dd	3
	dd	0
	dd	0
	align	4
_1004:
	dd	_649
	dd	62
	dd	4
	align	4
_42:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	80,114,111,106,101,99,116,115,92
	align	4
_1016:
	dd	3
	dd	0
	dd	0
	align	4
_1011:
	dd	_649
	dd	64
	dd	4
	align	4
_43:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	46,116,115,101,116
_1073:
	db	"Bank",0
_1074:
	db	"frms",0
_1075:
	db	"ww",0
_1076:
	db	"hh",0
_1077:
	db	"fflags",0
	align	4
_1072:
	dd	1
	dd	_197
	dd	2
	dd	_767
	dd	_201
	dd	-4
	dd	2
	dd	_1073
	dd	_228
	dd	-8
	dd	2
	dd	_1074
	dd	_184
	dd	-12
	dd	2
	dd	_1075
	dd	_184
	dd	-16
	dd	2
	dd	_1076
	dd	_184
	dd	-20
	dd	2
	dd	_1077
	dd	_184
	dd	-24
	dd	0
	align	4
_1018:
	dd	_649
	dd	73
	dd	3
	align	4
_1021:
	dd	3
	dd	0
	dd	0
	align	4
_1020:
	dd	_649
	dd	73
	dd	23
	align	4
_1022:
	dd	_649
	dd	75
	dd	3
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	72,97,118,101,32,66,97,110,107
	align	4
_1023:
	dd	_649
	dd	77
	dd	3
	align	4
_1031:
	dd	_649
	dd	78
	dd	3
	align	4
_1035:
	dd	_649
	dd	79
	dd	3
	align	4
_1039:
	dd	_649
	dd	80
	dd	3
	align	4
_1043:
	dd	_649
	dd	81
	dd	3
	align	4
_1047:
	dd	_649
	dd	82
	dd	3
	align	4
_1063:
	dd	_649
	dd	84
	dd	3
	align	4
_1068:
	dd	3
	dd	0
	dd	0
	align	4
_1067:
	dd	_649
	dd	85
	dd	4
	align	4
_1071:
	dd	3
	dd	0
	dd	0
	align	4
_1070:
	dd	_649
	dd	87
	dd	4
	align	4
_1083:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_273
	dd	-4
	dd	0
	align	4
_1082:
	dd	3
	dd	0
	dd	0
	align	4
_1081:
	dd	_654
	dd	20
	dd	3
_1122:
	db	"Name",0
_1123:
	db	"width",0
_1124:
	db	"height",0
_1125:
	db	"tset",0
_1126:
	db	"wal",0
_1127:
	db	"til",0
	align	4
_1121:
	dd	1
	dd	_211
	dd	2
	dd	_767
	dd	_273
	dd	-4
	dd	2
	dd	_1122
	dd	_226
	dd	-8
	dd	2
	dd	_1123
	dd	_184
	dd	-12
	dd	2
	dd	_1124
	dd	_184
	dd	-16
	dd	2
	dd	_1125
	dd	_201
	dd	-20
	dd	2
	dd	_1126
	dd	_203
	dd	-24
	dd	2
	dd	_1127
	dd	_205
	dd	-28
	dd	0
	align	4
_1091:
	dd	_654
	dd	27
	dd	3
_1092:
	db	":Wall",0
	align	4
_1094:
	dd	_654
	dd	28
	dd	3
_1095:
	db	"i",0
	align	4
_1097:
	dd	_654
	dd	29
	dd	3
	align	4
_1105:
	dd	_654
	dd	30
	dd	3
	align	4
_1113:
	dd	_654
	dd	31
	dd	3
_1130:
	db	":Wall",0
	align	4
_1129:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_1130
	dd	-4
	dd	0
	align	4
_1128:
	dd	3
	dd	0
	dd	0
_1134:
	db	":Script",0
	align	4
_1133:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_1134
	dd	-4
	dd	0
	align	4
_1132:
	dd	3
	dd	0
	dd	0
	align	4
_1144:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_230
	dd	-4
	dd	0
	align	4
_45:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	78,111,110,101
	align	4
_1143:
	dd	3
	dd	0
	dd	0
	align	4
_1142:
	dd	_658
	dd	32
	dd	3
	align	4
_1158:
	dd	1
	dd	_196
	dd	2
	dd	_767
	dd	_230
	dd	-4
	dd	0
	align	4
_1159:
	dd	1
	dd	_195
	dd	2
	dd	_767
	dd	_230
	dd	-4
	dd	0
	align	4
_1177:
	dd	1
	dd	_236
	dd	2
	dd	_767
	dd	_230
	dd	-4
	dd	0
	align	4
_1160:
	dd	_658
	dd	48
	dd	3
	align	4
_1167:
	dd	3
	dd	0
	dd	0
	align	4
_1164:
	dd	_658
	dd	49
	dd	4
	align	4
_1176:
	dd	3
	dd	0
	dd	0
	align	4
_1169:
	dd	_658
	dd	51
	dd	4
_1412:
	db	"FName",0
_1413:
	db	"NewPath",0
	align	4
_1411:
	dd	1
	dd	_238
	dd	2
	dd	_767
	dd	_230
	dd	-4
	dd	2
	dd	_1412
	dd	_226
	dd	-8
	dd	2
	dd	_1413
	dd	_226
	dd	-12
	dd	0
	align	4
_1178:
	dd	_658
	dd	59
	dd	3
	align	4
_1186:
	dd	_658
	dd	60
	dd	3
	align	4
_1196:
	dd	_658
	dd	62
	dd	3
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	106,112,103
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	98,109,112
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	112,110,103
	align	4
_50:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	109,97,112
	align	4
_51:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	108,117,97
_1255:
	db	"ass",0
	align	4
_1254:
	dd	3
	dd	0
	dd	2
	dd	_1255
	dd	_230
	dd	-16
	dd	0
	align	4
_1205:
	dd	_658
	dd	100
	dd	5
	align	4
_1207:
	dd	_658
	dd	101
	dd	5
	align	4
_1217:
	dd	_658
	dd	102
	dd	5
	align	4
_1227:
	dd	_658
	dd	103
	dd	5
	align	4
_1231:
	dd	_658
	dd	104
	dd	5
	align	4
_1243:
	dd	_658
	dd	105
	dd	5
	align	4
_1253:
	dd	_658
	dd	107
	dd	5
	align	4
_1261:
	dd	3
	dd	0
	dd	0
	align	4
_1256:
	dd	_658
	dd	65
	dd	5
	align	4
_1260:
	dd	_658
	dd	66
	dd	5
	align	4
_1308:
	dd	3
	dd	0
	dd	2
	dd	_1125
	dd	_271
	dd	-20
	dd	0
	align	4
_1262:
	dd	_658
	dd	69
	dd	5
	align	4
_1264:
	dd	_658
	dd	70
	dd	5
	align	4
_1274:
	dd	_658
	dd	71
	dd	5
	align	4
_1284:
	dd	_658
	dd	72
	dd	5
	align	4
_1288:
	dd	_658
	dd	73
	dd	5
	align	4
_1300:
	dd	_658
	dd	74
	dd	5
	align	4
_1301:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	76,111,97,100,105,110,103,32,84,105,108,101,115,101,116,32
	dw	80,114,111,106,101,99,116,115,47
	align	4
_1304:
	dd	_658
	dd	76
	dd	5
	align	4
_1307:
	dd	_658
	dd	77
	dd	5
_1359:
	db	"mmap",0
	align	4
_1358:
	dd	3
	dd	0
	dd	2
	dd	_1359
	dd	_273
	dd	-24
	dd	0
	align	4
_1309:
	dd	_658
	dd	80
	dd	5
	align	4
_1311:
	dd	_658
	dd	81
	dd	5
	align	4
_1321:
	dd	_658
	dd	82
	dd	5
	align	4
_1331:
	dd	_658
	dd	83
	dd	5
	align	4
_1335:
	dd	_658
	dd	84
	dd	5
	align	4
_1347:
	dd	_658
	dd	85
	dd	5
	align	4
_1357:
	dd	_658
	dd	87
	dd	5
_1410:
	db	"scr",0
	align	4
_1409:
	dd	3
	dd	0
	dd	2
	dd	_1410
	dd	_1134
	dd	-28
	dd	0
	align	4
_1360:
	dd	_658
	dd	90
	dd	5
	align	4
_1362:
	dd	_658
	dd	91
	dd	5
	align	4
_1372:
	dd	_658
	dd	92
	dd	5
	align	4
_1382:
	dd	_658
	dd	93
	dd	5
	align	4
_1386:
	dd	_658
	dd	94
	dd	5
	align	4
_1398:
	dd	_658
	dd	95
	dd	5
	align	4
_1408:
	dd	_658
	dd	97
	dd	5
_1431:
	db	"GenerateTileset",0
_1432:
	db	"imgfile",0
_1433:
	db	":Object",0
_1434:
	db	"TSet",0
_1435:
	db	"bbank",0
	align	4
_1430:
	dd	1
	dd	_1431
	dd	2
	dd	_1432
	dd	_1433
	dd	-4
	dd	2
	dd	_1074
	dd	_184
	dd	-8
	dd	2
	dd	_1075
	dd	_184
	dd	-12
	dd	2
	dd	_1076
	dd	_184
	dd	-16
	dd	2
	dd	_1077
	dd	_184
	dd	-20
	dd	2
	dd	_1434
	dd	_201
	dd	-24
	dd	2
	dd	_1435
	dd	_228
	dd	-28
	dd	0
	align	4
_1414:
	dd	_658
	dd	117
	dd	3
	align	4
_1416:
	dd	_658
	dd	118
	dd	3
	align	4
_1418:
	dd	_658
	dd	120
	dd	3
	align	4
_1426:
	dd	3
	dd	0
	dd	0
	align	4
_1420:
	dd	_658
	dd	121
	dd	4
	align	4
_1421:
	dd	_658
	dd	122
	dd	4
	align	4
_1422:
	dd	_658
	dd	125
	dd	4
	align	4
_1425:
	dd	_658
	dd	126
	dd	4
	align	4
_1429:
	dd	3
	dd	0
	dd	0
	align	4
_1428:
	dd	_658
	dd	128
	dd	4
_1454:
	db	":Widget",0
	align	4
_1453:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	0
	align	4
_1452:
	dd	3
	dd	0
	dd	0
_1444:
	db	"$BMXPATH/projects/spaget/src/UI/Widgets.bmx",0
	align	4
_1443:
	dd	_1444
	dd	44
	dd	3
	align	4
_1494:
	dd	1
	dd	_253
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	2
	dd	_215
	dd	_184
	dd	-8
	dd	2
	dd	_216
	dd	_184
	dd	-12
	dd	2
	dd	_217
	dd	_184
	dd	-16
	dd	2
	dd	_218
	dd	_184
	dd	-20
	dd	0
	align	4
_1470:
	dd	_1444
	dd	14
	dd	3
	align	4
_1476:
	dd	_1444
	dd	15
	dd	3
	align	4
_1482:
	dd	_1444
	dd	16
	dd	3
	align	4
_1488:
	dd	_1444
	dd	17
	dd	3
	align	4
_1515:
	dd	1
	dd	_255
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	2
	dd	_1255
	dd	_230
	dd	-8
	dd	0
	align	4
_1495:
	dd	_1444
	dd	23
	dd	3
	align	4
_1503:
	dd	_1444
	dd	25
	dd	3
_1531:
	db	"ttitle",0
_1532:
	db	"pparent",0
	align	4
_1530:
	dd	1
	dd	_257
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	2
	dd	_1531
	dd	_226
	dd	-8
	dd	2
	dd	_215
	dd	_184
	dd	-12
	dd	2
	dd	_216
	dd	_184
	dd	-16
	dd	2
	dd	_217
	dd	_184
	dd	-20
	dd	2
	dd	_218
	dd	_184
	dd	-24
	dd	2
	dd	_1532
	dd	_243
	dd	-28
	dd	0
	align	4
_1516:
	dd	_1444
	dd	32
	dd	3
	align	4
_1519:
	dd	_1444
	dd	33
	dd	3
	align	4
_1522:
	dd	_1444
	dd	34
	dd	3
	align	4
_1541:
	dd	1
	dd	_259
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	2
	dd	_1531
	dd	_226
	dd	-8
	dd	0
	align	4
_1533:
	dd	_1444
	dd	39
	dd	3
	align	4
_1542:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	0
_1544:
	db	"EID",0
_1545:
	db	"Obj",0
_1546:
	db	"EEX",0
	align	4
_1543:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_1454
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
	align	4
_1548:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_246
	dd	-4
	dd	0
	align	4
_1547:
	dd	3
	dd	0
	dd	0
_1567:
	db	"xx",0
_1568:
	db	"yy",0
	align	4
_1566:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_246
	dd	-4
	dd	2
	dd	_1567
	dd	_184
	dd	-8
	dd	2
	dd	_1568
	dd	_184
	dd	-12
	dd	2
	dd	_1075
	dd	_184
	dd	-16
	dd	2
	dd	_1076
	dd	_184
	dd	-20
	dd	0
	align	4
_1550:
	dd	_1444
	dd	69
	dd	3
	align	4
_1554:
	dd	_1444
	dd	70
	dd	3
	align	4
_1558:
	dd	_1444
	dd	71
	dd	3
	align	4
_1562:
	dd	_1444
	dd	72
	dd	3
_1571:
	db	":MapEditor_Module",0
	align	4
_1570:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_1571
	dd	-4
	dd	0
	align	4
_1569:
	dd	3
	dd	0
	dd	0
_1648:
	db	"Gads",0
_1649:
	db	"AssetW",0
_1650:
	db	":Asset_Widget",0
_1651:
	db	"AssAs",0
_1652:
	db	"MapW",0
_1653:
	db	":Mapeditor_Widget",0
_1654:
	db	"MapAs",0
	align	4
_1647:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_1571
	dd	-4
	dd	2
	dd	_1648
	dd	_290
	dd	-8
	dd	2
	dd	_1649
	dd	_1650
	dd	-12
	dd	2
	dd	_1651
	dd	_230
	dd	-16
	dd	2
	dd	_1652
	dd	_1653
	dd	-20
	dd	2
	dd	_1654
	dd	_230
	dd	-24
	dd	0
_1574:
	db	"$BMXPATH/projects/spaget/src/UI/Modules/Mapeditor_Module.bmx",0
	align	4
_1573:
	dd	_1574
	dd	12
	dd	3
_1575:
	db	":Widget",0
	align	4
_1577:
	dd	_1574
	dd	14
	dd	3
	align	4
_1579:
	dd	_1574
	dd	15
	dd	3
	align	4
_1581:
	dd	_1574
	dd	16
	dd	3
	align	4
_52:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	109,101,100,105,97,47,101,100,105,116,111,114,47,97,115,115
	dw	101,116,115,116,114,105,112,46,112,110,103
	align	4
_1584:
	dd	_1574
	dd	17
	dd	3
	align	4
_1587:
	dd	_1574
	dd	18
	dd	3
	align	4
_53:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	65,115,115,101,116,32,77,97,110,97,103,101,114
	align	4
_1596:
	dd	_1574
	dd	19
	dd	3
	align	4
_1599:
	dd	_1574
	dd	20
	dd	3
	align	4
_1607:
	dd	_1574
	dd	22
	dd	3
	align	4
_1609:
	dd	_1574
	dd	23
	dd	3
	align	4
_1611:
	dd	_1574
	dd	24
	dd	3
	align	4
_54:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	109,101,100,105,97,47,101,100,105,116,111,114,47,116,111,111
	dw	108,98,97,114,46,112,110,103
	align	4
_1614:
	dd	_1574
	dd	26
	dd	3
	align	4
_1617:
	dd	_1574
	dd	27
	dd	3
	align	4
_1628:
	dd	_1574
	dd	28
	dd	3
	align	4
_1631:
	dd	_1574
	dd	29
	dd	3
	align	4
_1639:
	dd	_1574
	dd	31
	dd	3
	align	4
_1659:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_1653
	dd	-4
	dd	0
	align	4
_1658:
	dd	3
	dd	0
	dd	0
	align	4
_1712:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_1653
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
	align	4
_1667:
	dd	_1574
	dd	56
	dd	3
	align	4
_1680:
	dd	3
	dd	0
	dd	0
	align	4
_1674:
	dd	_1574
	dd	58
	dd	5
	align	4
_1699:
	dd	3
	dd	0
	dd	0
	align	4
_1681:
	dd	_1574
	dd	62
	dd	5
	align	4
_1698:
	dd	3
	dd	0
	dd	0
	align	4
_1688:
	dd	_1574
	dd	63
	dd	6
	align	4
_1694:
	dd	_1574
	dd	64
	dd	6
	align	4
_1695:
	dd	_1574
	dd	65
	dd	6
	align	4
_1696:
	dd	_1574
	dd	66
	dd	6
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	77,97,112
	align	4
_1697:
	dd	_1574
	dd	67
	dd	6
	align	4
_1700:
	dd	3
	dd	0
	dd	0
	align	4
_1711:
	dd	3
	dd	0
	dd	0
	align	4
_1701:
	dd	_1574
	dd	75
	dd	5
	align	4
_1710:
	dd	3
	dd	0
	dd	0
	align	4
_1943:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_1653
	dd	-4
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	0
	align	4
_1713:
	dd	_1574
	dd	90
	dd	3
_1714:
	db	":maxgui.maxgui.TGadget",0
	align	4
_1716:
	dd	_1574
	dd	91
	dd	3
	align	4
_1744:
	dd	_1574
	dd	92
	dd	3
	align	4
_1760:
	dd	_1574
	dd	94
	dd	3
	align	4
_1763:
	dd	_1574
	dd	95
	dd	3
	align	4
_57:
	dd	_bbStringClass
	dd	2147483647
	dd	62
	dw	84,104,105,115,32,116,111,103,103,108,101,32,98,117,116,116
	dw	111,110,32,115,104,111,117,108,100,32,99,104,97,110,103,101
	dw	32,116,111,32,97,32,108,105,103,104,116,32,98,117,108,98
	dw	32,119,104,101,110,32,99,108,105,99,107,101,100,46
	align	4
_56:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	68,114,97,119
	align	4
_1766:
	dd	_1574
	dd	96
	dd	3
	align	4
_58:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	84,105,108,101,115,101,116,58,32
	align	4
_1778:
	dd	_1574
	dd	97
	dd	3
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,97,112,58,32
	align	4
_1792:
	dd	_1574
	dd	98
	dd	3
	align	4
_1806:
	dd	_1574
	dd	100
	dd	3
	align	4
_1826:
	dd	3
	dd	0
	dd	2
	dd	_1125
	dd	_201
	dd	-12
	dd	0
	align	4
_1816:
	dd	_1574
	dd	102
	dd	4
	align	4
_1825:
	dd	3
	dd	0
	dd	0
	align	4
_1820:
	dd	_1574
	dd	103
	dd	5
	align	4
_1827:
	dd	_1574
	dd	107
	dd	3
	align	4
_1834:
	dd	3
	dd	0
	dd	0
	align	4
_1831:
	dd	_1574
	dd	107
	dd	41
	align	4
_1835:
	dd	_1574
	dd	109
	dd	3
	align	4
_1851:
	dd	_1574
	dd	110
	dd	3
	align	4
_1865:
	dd	_1574
	dd	111
	dd	3
	align	4
_1879:
	dd	_1574
	dd	112
	dd	3
	align	4
_1895:
	dd	_1574
	dd	113
	dd	3
	align	4
_63:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	76,97,121,101,114,58,32
	align	4
_1909:
	dd	_1574
	dd	114
	dd	3
	align	4
_1925:
	dd	_1574
	dd	115
	dd	3
	align	4
_1933:
	dd	_1574
	dd	116
	dd	3
	align	4
_1947:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_1650
	dd	-4
	dd	0
	align	4
_1946:
	dd	3
	dd	0
	dd	0
_2249:
	db	"EventAsset",0
_2250:
	db	"Asst",0
_2251:
	db	"TsetWindow",0
_2252:
	db	":TileSetWindow",0
_2253:
	db	"MMapWindow",0
_2244:
	db	":MapWindow",0
_2254:
	db	"Gnode",0
	align	4
_2248:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_1650
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	2
	dd	_2249
	dd	_230
	dd	-20
	dd	2
	dd	_2250
	dd	_230
	dd	-24
	dd	2
	dd	_2251
	dd	_2252
	dd	-28
	dd	2
	dd	_2253
	dd	_2244
	dd	-32
	dd	2
	dd	_2254
	dd	_243
	dd	-36
	dd	0
	align	4
_1953:
	dd	_1574
	dd	133
	dd	3
	align	4
_1955:
	dd	_1574
	dd	134
	dd	3
	align	4
_1957:
	dd	_1574
	dd	135
	dd	3
	align	4
_1959:
	dd	_1574
	dd	136
	dd	3
	align	4
_1961:
	dd	_1574
	dd	137
	dd	3
	align	4
_1963:
	dd	_1574
	dd	138
	dd	3
	align	4
_2209:
	dd	3
	dd	0
	dd	0
	align	4
_1967:
	dd	_1574
	dd	142
	dd	5
	align	4
_2037:
	dd	3
	dd	0
	dd	0
	align	4
_1982:
	dd	_1574
	dd	145
	dd	7
	align	4
_64:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	99,108,105,99,107,101,100,32,110,111,100,101,32
	align	4
_1983:
	dd	_1574
	dd	146
	dd	7
	align	4
_1989:
	dd	_1574
	dd	147
	dd	7
	align	4
_2036:
	dd	3
	dd	0
	dd	0
	align	4
_1991:
	dd	_1574
	dd	148
	dd	8
	align	4
_65:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	72,97,118,101,32,71,97,100,103,101,116
	align	4
_1992:
	dd	_1574
	dd	149
	dd	8
	align	4
_1993:
	dd	_1574
	dd	150
	dd	8
	align	4
_2035:
	dd	3
	dd	0
	dd	0
	align	4
_1995:
	dd	_1574
	dd	151
	dd	9
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	104,97,118,101,32,97,115,115,101,116
	align	4
_1996:
	dd	_1574
	dd	152
	dd	9
	align	4
_2034:
	dd	3
	dd	0
	dd	0
	align	4
_2002:
	dd	_1574
	dd	155
	dd	11
	align	4
_2003:
	dd	_1574
	dd	156
	dd	11
	align	4
_2011:
	dd	_1574
	dd	157
	dd	11
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	69,100,105,116,32,84,105,108,101,115,101,116
	align	4
_2016:
	dd	_1574
	dd	158
	dd	11
	align	4
_2024:
	dd	_1574
	dd	159
	dd	11
	align	4
_2028:
	dd	_1574
	dd	160
	dd	11
	align	4
_2031:
	dd	_1574
	dd	161
	dd	11
	align	4
_2208:
	dd	3
	dd	0
	dd	0
	align	4
_2038:
	dd	_1574
	dd	172
	dd	7
	align	4
_2127:
	dd	3
	dd	0
	dd	0
	align	4
_2048:
	dd	_1574
	dd	177
	dd	8
	align	4
_2049:
	dd	_1574
	dd	178
	dd	8
	align	4
_2080:
	dd	3
	dd	0
	dd	0
	align	4
_2056:
	dd	_1574
	dd	179
	dd	9
	align	4
_2069:
	dd	_1574
	dd	180
	dd	9
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	78,101,119,32,77,97,112
	align	4
_2074:
	dd	_1574
	dd	181
	dd	9
	align	4
_2077:
	dd	_1574
	dd	183
	dd	9
	align	4
_2126:
	dd	3
	dd	0
	dd	0
	align	4
_2082:
	dd	_1574
	dd	186
	dd	9
	align	4
_2088:
	dd	_1574
	dd	187
	dd	9
	align	4
_2091:
	dd	3
	dd	0
	dd	0
	align	4
_2090:
	dd	_1574
	dd	188
	dd	10
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	87,65,84,32,68,73,68,32,89,79,85,32,68,79,63,33
	align	4
_2125:
	dd	3
	dd	0
	dd	0
	align	4
_2093:
	dd	_1574
	dd	191
	dd	10
	align	4
_2121:
	dd	3
	dd	0
	dd	0
	align	4
_2097:
	dd	_1574
	dd	192
	dd	11
	align	4
_2102:
	dd	_1574
	dd	193
	dd	11
	align	4
_2105:
	dd	_1574
	dd	194
	dd	11
	align	4
_2118:
	dd	_1574
	dd	195
	dd	11
	align	4
_2124:
	dd	3
	dd	0
	dd	0
	align	4
_2123:
	dd	_1574
	dd	197
	dd	11
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	80,108,101,97,115,101,32,67,104,111,111,115,101,32,97,32
	dw	70,111,108,100,101,114
	align	4
_2207:
	dd	3
	dd	0
	dd	0
	align	4
_2128:
	dd	_1574
	dd	207
	dd	8
	align	4
_2129:
	dd	_1574
	dd	209
	dd	8
	align	4
_2160:
	dd	3
	dd	0
	dd	0
	align	4
_2136:
	dd	_1574
	dd	210
	dd	9
	align	4
_2149:
	dd	_1574
	dd	211
	dd	9
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,84,105,108,101,115,101,116
	align	4
_2154:
	dd	_1574
	dd	212
	dd	9
	align	4
_2157:
	dd	_1574
	dd	214
	dd	9
	align	4
_2206:
	dd	3
	dd	0
	dd	0
	align	4
_2162:
	dd	_1574
	dd	217
	dd	9
	align	4
_2168:
	dd	_1574
	dd	218
	dd	9
	align	4
_2171:
	dd	3
	dd	0
	dd	0
	align	4
_2170:
	dd	_1574
	dd	219
	dd	10
	align	4
_2205:
	dd	3
	dd	0
	dd	0
	align	4
_2173:
	dd	_1574
	dd	222
	dd	10
	align	4
_2201:
	dd	3
	dd	0
	dd	0
	align	4
_2177:
	dd	_1574
	dd	223
	dd	11
	align	4
_2182:
	dd	_1574
	dd	224
	dd	11
	align	4
_2185:
	dd	_1574
	dd	225
	dd	11
	align	4
_2198:
	dd	_1574
	dd	226
	dd	11
	align	4
_2204:
	dd	3
	dd	0
	dd	0
	align	4
_2203:
	dd	_1574
	dd	228
	dd	11
	align	4
_2210:
	dd	_1574
	dd	242
	dd	3
_2246:
	db	"TWin",0
_2247:
	db	":ToolWindow",0
	align	4
_2245:
	dd	3
	dd	0
	dd	2
	dd	_2246
	dd	_2247
	dd	-40
	dd	0
	align	4
_2222:
	dd	_1574
	dd	245
	dd	4
_2235:
	db	"TSetTool",0
_2236:
	db	":TilesetWindow",0
	align	4
_2234:
	dd	3
	dd	0
	dd	2
	dd	_2235
	dd	_2236
	dd	-44
	dd	0
	align	4
_2229:
	dd	_1574
	dd	248
	dd	6
	align	4
_2231:
	dd	_1574
	dd	249
	dd	6
_2243:
	db	"MapTool",0
	align	4
_2242:
	dd	3
	dd	0
	dd	2
	dd	_2243
	dd	_2244
	dd	-48
	dd	0
	align	4
_2237:
	dd	_1574
	dd	252
	dd	6
	align	4
_2239:
	dd	_1574
	dd	253
	dd	6
_2266:
	db	"Tree",0
	align	4
_2265:
	dd	1
	dd	_282
	dd	2
	dd	_767
	dd	_1650
	dd	-4
	dd	2
	dd	_2266
	dd	_243
	dd	-8
	dd	0
	align	4
_2255:
	dd	_1574
	dd	262
	dd	3
	align	4
_2262:
	dd	_1574
	dd	263
	dd	3
	align	4
_2264:
	dd	3
	dd	0
	dd	0
	align	4
_2425:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_1650
	dd	-4
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	0
	align	4
_2267:
	dd	_1574
	dd	275
	dd	3
_2268:
	db	":maxgui.maxgui.TGadget",0
	align	4
_2270:
	dd	_1574
	dd	276
	dd	3
	align	4
_2298:
	dd	_1574
	dd	277
	dd	3
	align	4
_2312:
	dd	_1574
	dd	278
	dd	3
	align	4
_2321:
	dd	3
	dd	0
	dd	0
	align	4
_2316:
	dd	_1574
	dd	279
	dd	4
	align	4
_2322:
	dd	_1574
	dd	281
	dd	3
	align	4
_2327:
	dd	_1574
	dd	328
	dd	3
	align	4
_75:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	65,100,100,32,70,111,108,100,101,114
	align	4
_2341:
	dd	_1574
	dd	329
	dd	3
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	65,100,100,32,65,115,115,101,116
	align	4
_2357:
	dd	_1574
	dd	330
	dd	3
	align	4
_77:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	82,101,109,111,118,101
	align	4
_2371:
	dd	_1574
	dd	331
	dd	3
	align	4
_2387:
	dd	_1574
	dd	332
	dd	3
	align	4
_78:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	66,108,97,110,107
	align	4
_2390:
	dd	_1574
	dd	333
	dd	3
	align	4
_79:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	73,109,97,103,101
	align	4
_2393:
	dd	_1574
	dd	334
	dd	3
	align	4
_80:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	83,99,114,105,112,116
	align	4
_2396:
	dd	_1574
	dd	335
	dd	3
	align	4
_2399:
	dd	_1574
	dd	336
	dd	3
	align	4
_81:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	83,112,114,105,116,101
	align	4
_2402:
	dd	_1574
	dd	337
	dd	3
	align	4
_2405:
	dd	_1574
	dd	338
	dd	3
	align	4
_82:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	83,111,117,110,100
	align	4
_2408:
	dd	_1574
	dd	339
	dd	3
	align	4
_83:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,117,115,105,99
	align	4
_2411:
	dd	_1574
	dd	340
	dd	3
	align	4
_84:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	79,98,106,101,99,116
	align	4
_2414:
	dd	_1574
	dd	341
	dd	3
	align	4
_2417:
	dd	_1574
	dd	342
	dd	3
_2563:
	db	"Path",0
_2564:
	db	"TreeNode",0
_2565:
	db	"FileAsset",0
_2566:
	db	"T",0
_2567:
	db	"dir",0
	align	4
_2562:
	dd	1
	dd	_283
	dd	2
	dd	_767
	dd	_1650
	dd	-4
	dd	2
	dd	_244
	dd	_243
	dd	-8
	dd	2
	dd	_2563
	dd	_226
	dd	-12
	dd	2
	dd	_2564
	dd	_243
	dd	-16
	dd	2
	dd	_2565
	dd	_230
	dd	-20
	dd	2
	dd	_2566
	dd	_226
	dd	-24
	dd	2
	dd	_2567
	dd	_184
	dd	-28
	dd	0
	align	4
_2426:
	dd	_1574
	dd	346
	dd	3
	align	4
_2428:
	dd	_1574
	dd	347
	dd	3
	align	4
_2430:
	dd	_1574
	dd	348
	dd	3
	align	4
_2432:
	dd	_1574
	dd	349
	dd	3
	align	4
_2435:
	dd	3
	dd	0
	dd	0
	align	4
_2434:
	dd	_1574
	dd	350
	dd	4
	align	4
_2436:
	dd	_1574
	dd	352
	dd	3
	align	4
_2438:
	dd	_1574
	dd	413
	dd	3
	align	4
_2560:
	dd	3
	dd	0
	dd	0
	align	4
_2439:
	dd	_1574
	dd	354
	dd	4
	align	4
_2440:
	dd	_1574
	dd	355
	dd	4
	align	4
_2443:
	dd	3
	dd	0
	dd	0
	align	4
_2442:
	dd	_1574
	dd	355
	dd	12
	align	4
_2444:
	dd	_1574
	dd	356
	dd	4
	align	4
_88:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	46
	align	4
_89:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	46,46
	align	4
_90:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,115,118,110
	align	4
_2451:
	dd	3
	dd	0
	dd	0
	align	4
_2450:
	dd	_1574
	dd	356
	dd	35
	align	4
_2452:
	dd	_1574
	dd	358
	dd	4
	align	4
_2530:
	dd	3
	dd	0
	dd	0
	align	4
_2457:
	dd	_1574
	dd	362
	dd	6
	align	4
_2495:
	dd	3
	dd	0
	dd	0
	align	4
_2462:
	dd	_1574
	dd	365
	dd	8
	align	4
_2463:
	dd	_1574
	dd	366
	dd	8
	align	4
_91:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	65,100,100,105,110,103,32,84,105,108,101,115,101,116,58,32
	align	4
_2464:
	dd	_1574
	dd	367
	dd	8
	align	4
_2467:
	dd	_1574
	dd	369
	dd	8
	align	4
_2471:
	dd	3
	dd	0
	dd	0
	align	4
_2469:
	dd	_1574
	dd	370
	dd	9
	align	4
_92:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,111,117,108,100,32,110,111,116,32,76,111,97,100,32
	align	4
_2470:
	dd	_1574
	dd	371
	dd	9
	align	4
_2494:
	dd	3
	dd	0
	dd	0
	align	4
_2473:
	dd	_1574
	dd	375
	dd	9
	align	4
_2481:
	dd	_1574
	dd	376
	dd	9
	align	4
_2488:
	dd	_1574
	dd	377
	dd	9
	align	4
_2491:
	dd	_1574
	dd	378
	dd	9
	align	4
_2529:
	dd	3
	dd	0
	dd	0
	align	4
_2496:
	dd	_1574
	dd	386
	dd	8
	align	4
_2497:
	dd	_1574
	dd	387
	dd	8
	align	4
_93:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	65,100,100,105,110,103,32,77,97,112,58,32
	align	4
_2498:
	dd	_1574
	dd	388
	dd	8
	align	4
_2501:
	dd	_1574
	dd	389
	dd	8
	align	4
_2505:
	dd	3
	dd	0
	dd	0
	align	4
_2503:
	dd	_1574
	dd	390
	dd	9
	align	4
_2504:
	dd	_1574
	dd	391
	dd	9
	align	4
_2528:
	dd	3
	dd	0
	dd	0
	align	4
_2507:
	dd	_1574
	dd	395
	dd	9
	align	4
_2515:
	dd	_1574
	dd	396
	dd	9
	align	4
_2522:
	dd	_1574
	dd	397
	dd	9
	align	4
_2525:
	dd	_1574
	dd	398
	dd	9
_2559:
	db	"FolderAsset",0
	align	4
_2558:
	dd	3
	dd	0
	dd	2
	dd	_2559
	dd	_230
	dd	-32
	dd	0
	align	4
_2531:
	dd	_1574
	dd	404
	dd	6
	align	4
_2533:
	dd	_1574
	dd	405
	dd	6
	align	4
_2541:
	dd	_1574
	dd	406
	dd	6
	align	4
_2549:
	dd	_1574
	dd	407
	dd	6
	align	4
_2552:
	dd	_1574
	dd	408
	dd	6
	align	4
_2555:
	dd	_1574
	dd	409
	dd	6
	align	4
_2561:
	dd	_1574
	dd	414
	dd	3
_2573:
	db	":Tab_Module",0
	align	4
_2572:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_2573
	dd	-4
	dd	0
	align	4
_2571:
	dd	3
	dd	0
	dd	0
_2602:
	db	"show",0
_2603:
	db	"ppanel",0
	align	4
_2601:
	dd	1
	dd	_291
	dd	2
	dd	_767
	dd	_2573
	dd	-8
	dd	2
	dd	_244
	dd	_243
	dd	-12
	dd	2
	dd	_2602
	dd	_220
	dd	-4
	dd	2
	dd	_2603
	dd	_243
	dd	-16
	dd	0
_2582:
	db	"$BMXPATH/projects/spaget/src/UI/TabModule.bmx",0
	align	4
_2581:
	dd	_2582
	dd	20
	dd	3
	align	4
_2584:
	dd	_2582
	dd	22
	dd	3
	align	4
_2585:
	dd	_2582
	dd	24
	dd	3
	align	4
_2586:
	dd	_2582
	dd	25
	dd	3
	align	4
_2589:
	dd	3
	dd	0
	dd	0
	align	4
_2588:
	dd	_2582
	dd	26
	dd	4
	align	4
_2592:
	dd	3
	dd	0
	dd	0
	align	4
_2591:
	dd	_2582
	dd	28
	dd	4
	align	4
_2593:
	dd	_2582
	dd	30
	dd	3
	align	4
_2604:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_2573
	dd	-4
	dd	0
	align	4
_2628:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_2573
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
	align	4
_2605:
	dd	_2582
	dd	44
	dd	3
	align	4
_2627:
	dd	3
	dd	0
	dd	2
	dd	_184
	dd	_184
	dd	-20
	dd	0
	align	4
_2611:
	dd	_2582
	dd	46
	dd	4
	align	4
_2626:
	dd	3
	dd	0
	dd	0
	align	4
_2618:
	dd	_2582
	dd	48
	dd	5
	align	4
_2636:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_2236
	dd	-4
	dd	0
	align	4
_2635:
	dd	3
	dd	0
	dd	0
_2631:
	db	"$BMXPATH/projects/spaget/src/UI/Windows/TilesetWindow.bmx",0
	align	4
_2630:
	dd	_2631
	dd	8
	dd	3
	align	4
_2897:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_2236
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
	align	4
_2640:
	dd	_2631
	dd	16
	dd	3
	align	4
_2656:
	dd	3
	dd	0
	dd	0
	align	4
_2645:
	dd	_2631
	dd	19
	dd	5
	align	4
_2655:
	dd	3
	dd	0
	dd	0
	align	4
_2649:
	dd	_2631
	dd	20
	dd	6
	align	4
_2652:
	dd	_2631
	dd	21
	dd	6
	align	4
_2895:
	dd	3
	dd	0
	dd	0
	align	4
_2657:
	dd	_2631
	dd	25
	dd	5
_2743:
	db	"filter",0
_2744:
	db	"filename",0
	align	4
_2742:
	dd	3
	dd	0
	dd	2
	dd	_2743
	dd	_226
	dd	-20
	dd	2
	dd	_2744
	dd	_226
	dd	-24
	dd	0
	align	4
_2678:
	dd	_2631
	dd	30
	dd	7
	align	4
_97:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	73,109,97,103,101,32,70,105,108,101,115,58,112,110,103,44
	dw	106,112,103,44,98,109,112
	align	4
_2680:
	dd	_2631
	dd	31
	dd	7
	align	4
_98:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	83,101,108,101,99,116,32,103,114,97,112,104,105,99,32,102
	dw	105,108,101,32,116,111,32,111,112,101,110
	align	4
_2682:
	dd	_2631
	dd	33
	dd	7
	align	4
_2741:
	dd	3
	dd	0
	dd	0
	align	4
_2684:
	dd	_2631
	dd	35
	dd	8
	align	4
_2696:
	dd	3
	dd	0
	dd	0
	align	4
_2688:
	dd	_2631
	dd	35
	dd	33
	align	4
_2697:
	dd	_2631
	dd	39
	dd	8
	align	4
_2707:
	dd	_2631
	dd	40
	dd	8
	align	4
_2717:
	dd	_2631
	dd	41
	dd	8
	align	4
_2731:
	dd	_2631
	dd	43
	dd	8
	align	4
_2887:
	dd	3
	dd	0
	dd	0
	align	4
_2745:
	dd	_2631
	dd	49
	dd	7
	align	4
_2752:
	dd	3
	dd	0
	dd	0
	align	4
_2751:
	dd	_2631
	dd	50
	dd	8
	align	4
_99:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	89,111,117,32,100,111,32,110,111,116,32,104,97,118,101,32
	dw	97,110,32,73,109,97,103,101,32,115,101,108,101,99,116,101
	dw	100,33
	align	4
_2886:
	dd	3
	dd	0
	dd	0
	align	4
_2754:
	dd	_2631
	dd	54
	dd	8
	align	4
_2782:
	dd	_2631
	dd	55
	dd	8
	align	4
_2794:
	dd	_2631
	dd	56
	dd	8
	align	4
_2803:
	dd	_2631
	dd	57
	dd	8
	align	4
_100:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	80,97,116,104,58,32
	align	4
_2810:
	dd	_2631
	dd	58
	dd	8
	align	4
_2843:
	dd	3
	dd	0
	dd	0
	align	4
_2816:
	dd	_2631
	dd	59
	dd	9
	align	4
_101:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	110,101,119,32,80,97,116,104,58,32
	align	4
_2825:
	dd	_2631
	dd	61
	dd	9
	align	4
_2844:
	dd	_2631
	dd	63
	dd	8
	align	4
_2853:
	dd	_2631
	dd	64
	dd	8
	align	4
_2858:
	dd	_2631
	dd	65
	dd	8
_2871:
	db	"Gad",0
	align	4
_2870:
	dd	3
	dd	0
	dd	2
	dd	_2871
	dd	_243
	dd	-28
	dd	0
	align	4
_2866:
	dd	_2631
	dd	67
	dd	9
	align	4
_2869:
	dd	3
	dd	0
	dd	0
	align	4
_2868:
	dd	_2631
	dd	68
	dd	10
	align	4
_2872:
	dd	_2631
	dd	72
	dd	8
	align	4
_2875:
	dd	_2631
	dd	73
	dd	8
	align	4
_2878:
	dd	_2631
	dd	74
	dd	8
	align	4
_2894:
	dd	3
	dd	0
	dd	0
	align	4
_2888:
	dd	_2631
	dd	78
	dd	7
	align	4
_2891:
	dd	_2631
	dd	79
	dd	7
	align	4
_2896:
	dd	_2631
	dd	88
	dd	3
	align	4
_3172:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_2236
	dd	-4
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	0
	align	4
_2898:
	dd	_2631
	dd	94
	dd	3
_2899:
	db	":maxgui.maxgui.TGadget",0
	align	4
_2901:
	dd	_2631
	dd	95
	dd	3
	align	4
_2913:
	dd	3
	dd	0
	dd	0
	align	4
_2905:
	dd	_2631
	dd	95
	dd	28
	align	4
_2914:
	dd	_2631
	dd	96
	dd	3
	align	4
_2940:
	dd	_2631
	dd	97
	dd	3
	align	4
_105:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	73,109,97,103,101,32,70,105,108,101
	align	4
_2952:
	dd	_2631
	dd	98
	dd	3
	align	4
_2968:
	dd	_2631
	dd	99
	dd	3
	align	4
_2975:
	dd	3
	dd	0
	dd	0
	align	4
_2972:
	dd	_2631
	dd	100
	dd	4
	align	4
_2976:
	dd	_2631
	dd	102
	dd	3
	align	4
_106:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	80,114,111,112,101,114,116,105,101,115
	align	4
_2988:
	dd	_2631
	dd	103
	dd	3
	align	4
_107:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	67,101,108,108,32,87,58
	align	4
_2998:
	dd	_2631
	dd	104
	dd	3
	align	4
_3008:
	dd	_2631
	dd	105
	dd	3
	align	4
_3015:
	dd	_2631
	dd	106
	dd	3
	align	4
_108:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	67,101,108,108,32,72,58
	align	4
_3025:
	dd	_2631
	dd	107
	dd	3
	align	4
_3035:
	dd	_2631
	dd	108
	dd	3
	align	4
_3042:
	dd	_2631
	dd	109
	dd	3
	align	4
_109:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	70,114,97,109,101,115,58
	align	4
_3052:
	dd	_2631
	dd	110
	dd	3
	align	4
_3062:
	dd	_2631
	dd	111
	dd	3
	align	4
_3069:
	dd	_2631
	dd	112
	dd	3
	align	4
_110:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	70,108,97,103,58
	align	4
_3079:
	dd	_2631
	dd	113
	dd	3
	align	4
_3089:
	dd	_2631
	dd	115
	dd	3
	align	4
_3092:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	49
	align	4
_112:
	dd	_bbStringClass
	dd	2147483647
	dd	47
	dw	84,104,101,32,105,109,97,103,101,32,105,115,32,109,97,115
	dw	107,101,100,32,119,105,116,104,32,116,104,101,32,99,117,114
	dw	114,101,110,116,32,109,97,115,107,32,99,111,108,111,114
	align	4
_111:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	77,97,115,107,101,100
	align	4
_3093:
	dd	_2631
	dd	116
	dd	3
	align	4
_3096:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	50
	align	4
_114:
	dd	_bbStringClass
	dd	2147483647
	dd	133
	dw	84,104,101,32,105,109,97,103,101,32,105,115,32,115,109,111
	dw	111,116,104,101,100,32,119,104,101,110,32,115,99,97,108,101
	dw	100,32,117,112,32,116,111,32,103,114,101,97,116,101,114,32
	dw	116,104,97,110,32,105,116,115,32,111,114,105,103,105,110,97
	dw	108,32,115,105,122,101,44,32,119,104,101,110,32,114,111,116
	dw	97,116,101,100,44,32,111,114,32,119,104,101,110,32,100,114
	dw	97,119,110,32,97,116,32,102,114,97,99,116,105,111,110,97
	dw	108,32,112,105,120,101,108,32,99,111,111,114,100,105,110,97
	dw	116,101,115,46,32
	align	4
_113:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	70,105,108,116,101,114,101,100
	align	4
_3097:
	dd	_2631
	dd	117
	dd	3
	align	4
_3100:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	52
	align	4
_116:
	dd	_bbStringClass
	dd	2147483647
	dd	71
	dw	84,104,101,32,105,109,97,103,101,32,105,115,32,115,109,111
	dw	111,116,104,101,100,32,119,104,101,110,32,115,99,97,108,101
	dw	100,32,100,111,119,110,32,116,111,32,108,101,115,115,32,116
	dw	104,97,110,32,105,116,115,32,111,114,105,103,105,110,97,108
	dw	32,115,105,122,101,46,32
	align	4
_115:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	77,105,112,77,97,112
	align	4
_3101:
	dd	_2631
	dd	118
	dd	3
	align	4
_3114:
	dd	3
	dd	0
	dd	0
	align	4
_3111:
	dd	_2631
	dd	130
	dd	5
	align	4
_3118:
	dd	3
	dd	0
	dd	0
	align	4
_3115:
	dd	_2631
	dd	121
	dd	5
	align	4
_3122:
	dd	3
	dd	0
	dd	0
	align	4
_3119:
	dd	_2631
	dd	124
	dd	5
	align	4
_3126:
	dd	3
	dd	0
	dd	0
	align	4
_3123:
	dd	_2631
	dd	127
	dd	5
	align	4
_3127:
	dd	_2631
	dd	135
	dd	3
	align	4
_3141:
	dd	3
	dd	0
	dd	0
	align	4
_3131:
	dd	_2631
	dd	136
	dd	4
	align	4
_117:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	83,97,118,101,32,84,105,108,101,115,101,116
	align	4
_3153:
	dd	3
	dd	0
	dd	0
	align	4
_3143:
	dd	_2631
	dd	138
	dd	4
	align	4
_118:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	67,114,101,97,116,101,32,84,105,108,101,115,101,116
	align	4
_3154:
	dd	_2631
	dd	140
	dd	3
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	67,97,110,99,101,108
	align	4
_3164:
	dd	_2631
	dd	142
	dd	3
	align	4
_3180:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_2244
	dd	-4
	dd	0
	align	4
_3179:
	dd	3
	dd	0
	dd	0
_3175:
	db	"$BMXPATH/projects/spaget/src/UI/Windows/MapWindow.bmx",0
	align	4
_3174:
	dd	_3175
	dd	7
	dd	3
	align	4
_3374:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_2244
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
	align	4
_3184:
	dd	_3175
	dd	12
	dd	3
	align	4
_3372:
	dd	3
	dd	0
	dd	0
	align	4
_3188:
	dd	_3175
	dd	14
	dd	5
	align	4
_3371:
	dd	3
	dd	0
	dd	0
	align	4
_3197:
	dd	_3175
	dd	17
	dd	7
	align	4
_3213:
	dd	3
	dd	0
	dd	0
	align	4
_3203:
	dd	_3175
	dd	18
	dd	8
	align	4
_3214:
	dd	_3175
	dd	20
	dd	7
	align	4
_3229:
	dd	_3175
	dd	21
	dd	7
	align	4
_3245:
	dd	3
	dd	0
	dd	0
	align	4
_3235:
	dd	_3175
	dd	21
	dd	39
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	85,110,116,105,116,108,101,100,95
	align	4
_3246:
	dd	_3175
	dd	22
	dd	7
	align	4
_3257:
	dd	_3175
	dd	23
	dd	7
	align	4
_3268:
	dd	_3175
	dd	26
	dd	7
	align	4
_3280:
	dd	_3175
	dd	27
	dd	7
	align	4
_3289:
	dd	_3175
	dd	28
	dd	7
	align	4
_3296:
	dd	_3175
	dd	29
	dd	7
	align	4
_3329:
	dd	3
	dd	0
	dd	0
	align	4
_3302:
	dd	_3175
	dd	30
	dd	8
	align	4
_3311:
	dd	_3175
	dd	32
	dd	8
	align	4
_3330:
	dd	_3175
	dd	34
	dd	7
	align	4
_121:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,97,112
	align	4
_3339:
	dd	_3175
	dd	35
	dd	7
	align	4
_3344:
	dd	_3175
	dd	36
	dd	7
	align	4
_3356:
	dd	3
	dd	0
	dd	2
	dd	_2871
	dd	_243
	dd	-20
	dd	0
	align	4
_3352:
	dd	_3175
	dd	38
	dd	8
	align	4
_3355:
	dd	3
	dd	0
	dd	0
	align	4
_3354:
	dd	_3175
	dd	39
	dd	9
	align	4
_3357:
	dd	_3175
	dd	43
	dd	7
	align	4
_3360:
	dd	_3175
	dd	44
	dd	7
	align	4
_3368:
	dd	_3175
	dd	45
	dd	7
	align	4
_3373:
	dd	_3175
	dd	53
	dd	3
	align	4
_3642:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_2244
	dd	-4
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	0
	align	4
_3375:
	dd	_3175
	dd	58
	dd	3
_3376:
	db	":maxgui.maxgui.TGadget",0
	align	4
_3378:
	dd	_3175
	dd	59
	dd	3
	align	4
_3390:
	dd	3
	dd	0
	dd	0
	align	4
_3382:
	dd	_3175
	dd	59
	dd	27
	align	4
_3391:
	dd	_3175
	dd	60
	dd	3
	align	4
_3417:
	dd	_3175
	dd	61
	dd	3
	align	4
_125:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	78,97,109,101,58
	align	4
_3427:
	dd	_3175
	dd	62
	dd	3
	align	4
_3437:
	dd	_3175
	dd	63
	dd	3
	align	4
_3444:
	dd	_3175
	dd	64
	dd	3
	align	4
_126:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	68,105,109,101,110,115,105,111,110,115
	align	4
_3456:
	dd	_3175
	dd	65
	dd	3
	align	4
_127:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	87,105,100,116,104,58
	align	4
_3466:
	dd	_3175
	dd	66
	dd	3
	align	4
_128:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	72,101,105,103,104,116,58
	align	4
_3476:
	dd	_3175
	dd	67
	dd	3
	align	4
_3486:
	dd	_3175
	dd	68
	dd	3
	align	4
_3493:
	dd	_3175
	dd	69
	dd	3
	align	4
_3503:
	dd	_3175
	dd	70
	dd	3
	align	4
_3510:
	dd	_3175
	dd	71
	dd	3
	align	4
_129:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,101,100,105,97
	align	4
_3522:
	dd	_3175
	dd	72
	dd	3
	align	4
_130:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	66,97,99,107,103,114,111,117,110,100,58
	align	4
_3532:
	dd	_3175
	dd	73
	dd	3
	align	4
_3542:
	dd	_3175
	dd	74
	dd	3
	align	4
_3552:
	dd	_3175
	dd	75
	dd	3
	align	4
_3562:
	dd	_3175
	dd	76
	dd	3
	align	4
_131:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	76,105,103,104,116,32,67,111,108,111,114
	align	4
_3572:
	dd	_3175
	dd	77
	dd	3
	align	4
_3582:
	dd	_3175
	dd	78
	dd	3
	align	4
_3597:
	dd	_3175
	dd	80
	dd	3
	align	4
_3611:
	dd	3
	dd	0
	dd	0
	align	4
_3601:
	dd	_3175
	dd	81
	dd	4
	align	4
_132:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,97,118,101,32,77,97,112
	align	4
_3623:
	dd	3
	dd	0
	dd	0
	align	4
_3613:
	dd	_3175
	dd	83
	dd	4
	align	4
_133:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	67,114,101,97,116,101,32,77,97,112
	align	4
_3624:
	dd	_3175
	dd	85
	dd	3
	align	4
_3634:
	dd	_3175
	dd	87
	dd	3
	align	4
_3649:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_332
	dd	-4
	dd	0
	align	4
_3648:
	dd	3
	dd	0
	dd	0
_3644:
	db	"$BMXPATH/projects/spaget/src/UI/Windows/NewProjectWindow.bmx",0
	align	4
_3643:
	dd	_3644
	dd	6
	dd	3
	align	4
_3757:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_332
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
	align	4
_3651:
	dd	_3644
	dd	14
	dd	3
	align	4
_3756:
	dd	3
	dd	0
	dd	0
	align	4
_3655:
	dd	_3644
	dd	17
	dd	5
	align	4
_3748:
	dd	3
	dd	0
	dd	0
	align	4
_3670:
	dd	_3644
	dd	20
	dd	7
_3744:
	db	"filedir",0
	align	4
_3743:
	dd	3
	dd	0
	dd	2
	dd	_3744
	dd	_226
	dd	-20
	dd	0
	align	4
_3677:
	dd	_3644
	dd	21
	dd	8
	align	4
_3684:
	dd	_3644
	dd	22
	dd	8
	align	4
_3685:
	dd	_3644
	dd	23
	dd	8
	align	4
_134:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	47,73,109,97,103,101,115
	align	4
_3686:
	dd	_3644
	dd	24
	dd	8
	align	4
_135:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	47,84,105,108,101,115,101,116,115
	align	4
_3687:
	dd	_3644
	dd	25
	dd	8
	align	4
_136:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	47,77,97,112,115
	align	4
_3688:
	dd	_3644
	dd	26
	dd	8
	align	4
_137:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	47,79,98,106,101,99,116,115
	align	4
_3689:
	dd	_3644
	dd	27
	dd	8
	align	4
_138:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	47,77,117,115,105,99
	align	4
_3690:
	dd	_3644
	dd	28
	dd	8
	align	4
_139:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	47,83,111,117,110,100,115
	align	4
_3691:
	dd	_3644
	dd	29
	dd	8
	align	4
_140:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	47,83,99,114,105,112,116,115
	align	4
_3692:
	dd	_3644
	dd	30
	dd	8
	align	4
_141:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	47,83,112,114,105,116,101,115
	align	4
_3693:
	dd	_3644
	dd	32
	dd	8
	align	4
_142:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	80,114,111,106,101,99,116,32,67,114,101,97,116,101,100
	align	4
_3694:
	dd	_3644
	dd	33
	dd	8
	align	4
_3697:
	dd	_3644
	dd	34
	dd	8
	align	4
_3700:
	dd	_3644
	dd	36
	dd	8
	align	4
_3710:
	dd	3
	dd	0
	dd	0
	align	4
_3702:
	dd	_3644
	dd	37
	dd	9
	align	4
_3709:
	dd	3
	dd	0
	dd	0
	align	4
_3706:
	dd	_3644
	dd	38
	dd	10
	align	4
_3711:
	dd	_3644
	dd	41
	dd	8
	align	4
_3721:
	dd	3
	dd	0
	dd	0
	align	4
_3713:
	dd	_3644
	dd	43
	dd	9
	align	4
_3716:
	dd	_3644
	dd	44
	dd	9
	align	4
_3722:
	dd	_3644
	dd	47
	dd	8
	align	4
_3727:
	dd	_3644
	dd	48
	dd	8
	align	4
_3730:
	dd	_3644
	dd	49
	dd	8
	align	4
_143:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	83,112,97,103,101,116,32,45,32
	align	4
_3735:
	dd	_3644
	dd	50
	dd	8
	align	4
_3740:
	dd	_3644
	dd	51
	dd	8
	align	4
_3747:
	dd	3
	dd	0
	dd	0
	align	4
_3746:
	dd	_3644
	dd	54
	dd	8
	align	4
_144:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	80,114,111,106,101,99,116,32,65,108,114,101,97,100,121,32
	dw	69,120,105,115,116,115
	align	4
_3755:
	dd	3
	dd	0
	dd	0
	align	4
_3749:
	dd	_3644
	dd	58
	dd	7
	align	4
_3752:
	dd	_3644
	dd	59
	dd	7
	align	4
_3837:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_332
	dd	-4
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	0
	align	4
_3758:
	dd	_3644
	dd	70
	dd	3
_3759:
	db	":maxgui.maxgui.TGadget",0
	align	4
_3761:
	dd	_3644
	dd	72
	dd	3
	align	4
_3787:
	dd	_3644
	dd	74
	dd	3
	align	4
_145:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	80,114,111,106,101,99,116,32,78,97,109,101,58
	align	4
_3797:
	dd	_3644
	dd	75
	dd	3
	align	4
_3809:
	dd	_3644
	dd	76
	dd	3
	align	4
_146:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	67,114,101,97,116,101,32,80,114,111,106,101,99,116
	align	4
_3819:
	dd	_3644
	dd	77
	dd	3
	align	4
_3829:
	dd	_3644
	dd	79
	dd	3
	align	4
_3845:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_2247
	dd	-4
	dd	0
	align	4
_3844:
	dd	3
	dd	0
	dd	0
	align	4
_3887:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_2247
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_1546
	dd	_1433
	dd	-16
	dd	0
_3860:
	db	"$BMXPATH/projects/spaget/src/UI/ToolWindow.bmx",0
	align	4
_3859:
	dd	_3860
	dd	26
	dd	3
	align	4
_3886:
	dd	3
	dd	0
	dd	0
	align	4
_3862:
	dd	_3860
	dd	27
	dd	4
	align	4
_3885:
	dd	3
	dd	0
	dd	0
	align	4
_3866:
	dd	_3860
	dd	28
	dd	5
	align	4
_147:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	71,97,100,103,101,116,32,108,101,110,58,32
	align	4
_3869:
	dd	_3860
	dd	29
	dd	5
	align	4
_3878:
	dd	3
	dd	0
	dd	2
	dd	_2871
	dd	_243
	dd	-20
	dd	0
	align	4
_3877:
	dd	_3860
	dd	32
	dd	6
	align	4
_3879:
	dd	_3860
	dd	35
	dd	5
	align	4
_3882:
	dd	_3860
	dd	36
	dd	5
_3929:
	db	"plist",0
	align	4
_3928:
	dd	1
	dd	_257
	dd	2
	dd	_767
	dd	_2247
	dd	-4
	dd	2
	dd	_1531
	dd	_226
	dd	-8
	dd	2
	dd	_215
	dd	_184
	dd	-12
	dd	2
	dd	_216
	dd	_184
	dd	-16
	dd	2
	dd	_217
	dd	_184
	dd	-20
	dd	2
	dd	_218
	dd	_184
	dd	-24
	dd	2
	dd	_3929
	dd	_280
	dd	-28
	dd	0
	align	4
_3888:
	dd	_3860
	dd	44
	dd	3
	align	4
_3894:
	dd	_3860
	dd	45
	dd	3
	align	4
_3900:
	dd	_3860
	dd	46
	dd	3
	align	4
_3906:
	dd	_3860
	dd	47
	dd	3
	align	4
_3912:
	dd	_3860
	dd	48
	dd	3
	align	4
_3920:
	dd	_3860
	dd	49
	dd	3
	align	4
_3941:
	dd	1
	dd	_261
	dd	2
	dd	_767
	dd	_2247
	dd	-4
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	0
	align	4
_3930:
	dd	_3860
	dd	56
	dd	3
_3931:
	db	":maxgui.maxgui.TGadget",0
	align	4
_3933:
	dd	_3860
	dd	59
	dd	3
	align	4
_3984:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_754
	dd	-4
	dd	0
	align	4
_3983:
	dd	3
	dd	0
	dd	0
_3949:
	db	"$BMXPATH/projects/spaget/src/UI/EditorUI.bmx",0
	align	4
_3948:
	dd	_3949
	dd	37
	dd	3
	align	4
_3957:
	dd	_3949
	dd	38
	dd	3
_4056:
	db	"mods",0
_4057:
	db	"Maped",0
	align	4
_4055:
	dd	1
	dd	_319
	dd	2
	dd	_767
	dd	_754
	dd	-4
	dd	2
	dd	_4056
	dd	_316
	dd	-8
	dd	2
	dd	_4057
	dd	_1571
	dd	-12
	dd	0
	align	4
_3998:
	dd	_3949
	dd	46
	dd	3
_3999:
	db	":Tab_Module",0
	align	4
_4001:
	dd	_3949
	dd	48
	dd	3
	align	4
_4006:
	dd	_3949
	dd	49
	dd	3
	align	4
_4009:
	dd	_3949
	dd	50
	dd	3
	align	4
_4023:
	dd	_3949
	dd	51
	dd	3
	align	4
_4026:
	dd	_3949
	dd	53
	dd	3
	align	4
_4028:
	dd	_3949
	dd	55
	dd	3
	align	4
_4033:
	dd	_3949
	dd	56
	dd	3
	align	4
_4036:
	dd	_3949
	dd	57
	dd	3
	align	4
_4044:
	dd	_3949
	dd	58
	dd	3
	align	4
_151:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	71,97,109,101,32,69,100,105,116,111,114
	align	4
_4047:
	dd	_3949
	dd	61
	dd	3
_4065:
	db	"tmp_rect",0
	align	4
_4064:
	dd	1
	dd	_320
	dd	2
	dd	_767
	dd	_754
	dd	-4
	dd	2
	dd	_215
	dd	_184
	dd	-8
	dd	2
	dd	_216
	dd	_184
	dd	-12
	dd	2
	dd	_217
	dd	_184
	dd	-16
	dd	2
	dd	_218
	dd	_184
	dd	-20
	dd	2
	dd	_4065
	dd	_246
	dd	-24
	dd	0
	align	4
_4058:
	dd	_3949
	dd	68
	dd	3
	align	4
_4060:
	dd	_3949
	dd	69
	dd	3
	align	4
_4063:
	dd	_3949
	dd	70
	dd	3
_4089:
	db	"R",0
	align	4
_4088:
	dd	1
	dd	_322
	dd	2
	dd	_767
	dd	_754
	dd	-4
	dd	2
	dd	_4089
	dd	_246
	dd	-8
	dd	0
	align	4
_4066:
	dd	_3949
	dd	76
	dd	3
	align	4
_4087:
	dd	3
	dd	0
	dd	0
	align	4
_4068:
	dd	_3949
	dd	77
	dd	4
	align	4
_4076:
	dd	_3949
	dd	78
	dd	4
_4188:
	db	"EDAT",0
	align	4
_4187:
	dd	1
	dd	_324
	dd	2
	dd	_767
	dd	_754
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	2
	dd	_4188
	dd	_184
	dd	-16
	dd	2
	dd	_1546
	dd	_1433
	dd	-20
	dd	0
	align	4
_4090:
	dd	_3949
	dd	85
	dd	3
	align	4
_4092:
	dd	_3949
	dd	86
	dd	3
	align	4
_4094:
	dd	_3949
	dd	87
	dd	3
	align	4
_4096:
	dd	_3949
	dd	88
	dd	3
	align	4
_4098:
	dd	_3949
	dd	89
	dd	3
	align	4
_4099:
	dd	_3949
	dd	91
	dd	3
	align	4
_4106:
	dd	3
	dd	0
	dd	0
	align	4
_4105:
	dd	_3949
	dd	93
	dd	5
	align	4
_4113:
	dd	3
	dd	0
	dd	0
	align	4
_4107:
	dd	_3949
	dd	95
	dd	5
	align	4
_4112:
	dd	3
	dd	0
	dd	0
	align	4
_4111:
	dd	_3949
	dd	95
	dd	30
	align	4
_4137:
	dd	3
	dd	0
	dd	0
	align	4
_4114:
	dd	_3949
	dd	98
	dd	5
	align	4
_152:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,101,110,117,32
	align	4
_4115:
	dd	_3949
	dd	99
	dd	5
	align	4
_4121:
	dd	3
	dd	0
	dd	0
	align	4
_4120:
	dd	_3949
	dd	102
	dd	7
_4136:
	db	"NProjWin",0
	align	4
_4135:
	dd	3
	dd	0
	dd	2
	dd	_4136
	dd	_332
	dd	-24
	dd	0
	align	4
_4122:
	dd	_3949
	dd	106
	dd	7
	align	4
_4124:
	dd	_3949
	dd	107
	dd	7
	align	4
_153:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	78,101,119,32,80,114,111,106,101,99,116
	align	4
_4129:
	dd	_3949
	dd	108
	dd	7
	align	4
_4132:
	dd	_3949
	dd	109
	dd	7
	align	4
_4138:
	dd	_3949
	dd	113
	dd	3
	align	4
_4160:
	dd	3
	dd	0
	dd	2
	dd	_184
	dd	_184
	dd	-28
	dd	0
	align	4
_4144:
	dd	_3949
	dd	114
	dd	4
	align	4
_4159:
	dd	3
	dd	0
	dd	0
	align	4
_4151:
	dd	_3949
	dd	115
	dd	5
	align	4
_4161:
	dd	_3949
	dd	118
	dd	3
	align	4
_4186:
	dd	3
	dd	0
	dd	2
	dd	_2246
	dd	_2247
	dd	-32
	dd	0
	align	4
_4173:
	dd	_3949
	dd	121
	dd	4
_4185:
	db	"NPTool",0
	align	4
_4184:
	dd	3
	dd	0
	dd	2
	dd	_4185
	dd	_332
	dd	-36
	dd	0
	align	4
_4179:
	dd	_3949
	dd	124
	dd	6
	align	4
_4181:
	dd	_3949
	dd	125
	dd	6
_4232:
	db	"MMenu",0
	align	4
_4231:
	dd	1
	dd	_325
	dd	2
	dd	_767
	dd	_754
	dd	-4
	dd	2
	dd	_4232
	dd	_249
	dd	-8
	dd	0
	align	4
_4189:
	dd	_3949
	dd	134
	dd	3
_4190:
	db	":maxgui.maxgui.TGadget",0
	align	4
_4192:
	dd	_3949
	dd	137
	dd	3
	align	4
_160:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	70,105,108,101
	align	4
_4202:
	dd	_3949
	dd	139
	dd	3
	align	4
_161:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	38,78,101,119,32,80,114,111,106,101,99,116
	align	4
_4205:
	dd	_3949
	dd	140
	dd	3
	align	4
_162:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	38,79,112,101,110,32,80,114,111,106,101,99,116
	align	4
_4208:
	dd	_3949
	dd	141
	dd	3
	align	4
_4211:
	dd	_3949
	dd	142
	dd	3
	align	4
_163:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	38,83,97,118,101,32,80,114,111,106,101,99,116
	align	4
_4214:
	dd	_3949
	dd	143
	dd	3
	align	4
_4217:
	dd	_3949
	dd	144
	dd	3
	align	4
_164:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	69,38,120,105,116
	align	4
_4220:
	dd	_3949
	dd	147
	dd	3
	align	4
_4223:
	dd	_3949
	dd	148
	dd	3
	align	4
_4349:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_756
	dd	-4
	dd	0
	align	4
_4348:
	dd	3
	dd	0
	dd	2
	dd	_1648
	dd	_249
	dd	-8
	dd	2
	dd	_2567
	dd	_184
	dd	-12
	dd	2
	dd	_2566
	dd	_226
	dd	-16
	dd	0
_4242:
	db	"$BMXPATH/projects/spaget/src/UI/ProjectSelector.bmx",0
	align	4
_4241:
	dd	_4242
	dd	15
	dd	3
_4243:
	db	":maxgui.maxgui.TGadget",0
	align	4
_4245:
	dd	_4242
	dd	17
	dd	3
	align	4
_4253:
	dd	_4242
	dd	19
	dd	3
	align	4
_165:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	83,112,97,103,101,116,32,45,32,83,101,108,101,99,116,32
	dw	80,114,111,106,101,99,116,46,46
	align	4
_4261:
	dd	_4242
	dd	20
	dd	3
	align	4
_4271:
	dd	_4242
	dd	21
	dd	3
	align	4
_166:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	109,101,100,105,97,47,101,100,105,116,111,114,47,108,111,103
	dw	111,46,112,110,103
	align	4
_4279:
	dd	_4242
	dd	22
	dd	3
	align	4
_4284:
	dd	_4242
	dd	24
	dd	3
	align	4
_4294:
	dd	_4242
	dd	26
	dd	3
	align	4
_167:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	80,114,111,106,101,99,116,115
	align	4
_4296:
	dd	_4242
	dd	27
	dd	3
	align	4
_4298:
	dd	_4242
	dd	34
	dd	3
	align	4
_4309:
	dd	3
	dd	0
	dd	0
	align	4
_4299:
	dd	_4242
	dd	30
	dd	4
	align	4
_4300:
	dd	_4242
	dd	31
	dd	4
	align	4
_4305:
	dd	3
	dd	0
	dd	0
	align	4
_4304:
	dd	_4242
	dd	31
	dd	23
	align	4
_4306:
	dd	_4242
	dd	33
	dd	4
	align	4
_4310:
	dd	_4242
	dd	36
	dd	3
	align	4
_4320:
	dd	_4242
	dd	37
	dd	3
	align	4
_171:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	76,111,97,100,32,80,114,111,106,101,99,116
	align	4
_4330:
	dd	_4242
	dd	38
	dd	3
	align	4
_4340:
	dd	_4242
	dd	39
	dd	3
	align	4
_4512:
	dd	1
	dd	_262
	dd	2
	dd	_767
	dd	_756
	dd	-4
	dd	2
	dd	_1544
	dd	_184
	dd	-8
	dd	2
	dd	_1545
	dd	_1433
	dd	-12
	dd	0
	align	4
_4367:
	dd	_4242
	dd	45
	dd	3
	align	4
_4369:
	dd	_4242
	dd	46
	dd	3
	align	4
_4371:
	dd	_4242
	dd	48
	dd	3
	align	4
_4372:
	dd	_4242
	dd	49
	dd	3
	align	4
_4381:
	dd	3
	dd	0
	dd	0
	align	4
_4376:
	dd	_4242
	dd	50
	dd	4
	align	4
_4382:
	dd	_4242
	dd	52
	dd	3
	align	4
_4393:
	dd	3
	dd	0
	dd	0
	align	4
_4387:
	dd	_4242
	dd	55
	dd	5
	align	4
_4392:
	dd	3
	dd	0
	dd	0
	align	4
_4391:
	dd	_4242
	dd	55
	dd	26
	align	4
_4511:
	dd	3
	dd	0
	dd	0
	align	4
_4394:
	dd	_4242
	dd	58
	dd	5
	align	4
_4435:
	dd	3
	dd	0
	dd	0
	align	4
_4415:
	dd	_4242
	dd	61
	dd	7
	align	4
_4423:
	dd	_4242
	dd	62
	dd	7
	align	4
_4430:
	dd	_4242
	dd	63
	dd	7
	align	4
_4437:
	dd	3
	dd	0
	dd	0
	align	4
_4436:
	dd	_4242
	dd	65
	dd	7
	align	4
_4510:
	dd	3
	dd	0
	dd	0
	align	4
_4438:
	dd	_4242
	dd	68
	dd	7
	align	4
_4506:
	dd	3
	dd	0
	dd	0
	align	4
_4445:
	dd	_4242
	dd	70
	dd	8
	align	4
_4460:
	dd	_4242
	dd	71
	dd	8
	align	4
_4470:
	dd	3
	dd	0
	dd	0
	align	4
_4462:
	dd	_4242
	dd	72
	dd	9
	align	4
_4469:
	dd	3
	dd	0
	dd	0
	align	4
_4466:
	dd	_4242
	dd	73
	dd	10
	align	4
_4471:
	dd	_4242
	dd	76
	dd	8
	align	4
_4474:
	dd	_4242
	dd	77
	dd	8
	align	4
_4479:
	dd	_4242
	dd	78
	dd	8
	align	4
_4489:
	dd	3
	dd	0
	dd	0
	align	4
_4481:
	dd	_4242
	dd	80
	dd	9
	align	4
_4484:
	dd	_4242
	dd	81
	dd	9
	align	4
_4490:
	dd	_4242
	dd	84
	dd	8
	align	4
_4495:
	dd	_4242
	dd	85
	dd	8
	align	4
_4498:
	dd	_4242
	dd	86
	dd	8
	align	4
_4501:
	dd	_4242
	dd	87
	dd	8
	align	4
_4509:
	dd	3
	dd	0
	dd	0
	align	4
_4508:
	dd	_4242
	dd	90
	dd	8
	align	4
_172:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	80,108,101,97,115,101,32,83,101,108,101,99,116,32,97,32
	dw	80,114,111,106,101,99,116
	align	4
_4514:
	dd	1
	dd	_192
	dd	2
	dd	_767
	dd	_752
	dd	-4
	dd	0
	align	4
_4513:
	dd	3
	dd	0
	dd	0
_4565:
	db	"Conf",0
_4566:
	db	"root",0
_4567:
	db	"SettingsNode",0
_4568:
	db	"InfoNode",0
	align	4
_4564:
	dd	1
	dd	_337
	dd	2
	dd	_767
	dd	_752
	dd	-4
	dd	2
	dd	_4565
	dd	_887
	dd	-8
	dd	2
	dd	_4566
	dd	_889
	dd	-12
	dd	2
	dd	_4567
	dd	_889
	dd	-16
	dd	2
	dd	_4568
	dd	_889
	dd	-20
	dd	0
_4517:
	db	"$BMXPATH/projects/spaget/src/IO/Config.bmx",0
	align	4
_4516:
	dd	_4517
	dd	6
	dd	3
	align	4
_4519:
	dd	_4517
	dd	7
	dd	3
	align	4
_173:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	68,97,116,97,47,67,111,110,102,105,103,46,120,109,108
	align	4
_4522:
	dd	3
	dd	0
	dd	0
	align	4
_4521:
	dd	_4517
	dd	7
	dd	43
	align	4
_4523:
	dd	_4517
	dd	8
	dd	3
	align	4
_4526:
	dd	_4517
	dd	9
	dd	3
	align	4
_4530:
	dd	_4517
	dd	10
	dd	3
	align	4
_4533:
	dd	3
	dd	0
	dd	0
	align	4
_4532:
	dd	_4517
	dd	10
	dd	18
	align	4
_4534:
	dd	_4517
	dd	11
	dd	3
	align	4
_174:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,101,116,116,105,110,103,115
	align	4
_4538:
	dd	_4517
	dd	12
	dd	3
	align	4
_4541:
	dd	3
	dd	0
	dd	0
	align	4
_4540:
	dd	_4517
	dd	12
	dd	26
	align	4
_4542:
	dd	_4517
	dd	13
	dd	3
	align	4
_175:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,114,111,106,101,99,116
	align	4
_4546:
	dd	_4517
	dd	14
	dd	3
	align	4
_4549:
	dd	3
	dd	0
	dd	0
	align	4
_4548:
	dd	_4517
	dd	14
	dd	22
	align	4
_4550:
	dd	_4517
	dd	15
	dd	3
	align	4
_176:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	112,114,111,106
	align	4
_4559:
	dd	_4517
	dd	16
	dd	3
	align	4
_4596:
	dd	1
	dd	_338
	dd	2
	dd	_767
	dd	_752
	dd	-4
	dd	2
	dd	_4565
	dd	_887
	dd	-8
	dd	2
	dd	_4566
	dd	_889
	dd	-12
	dd	2
	dd	_4567
	dd	_889
	dd	-16
	dd	2
	dd	_4568
	dd	_889
	dd	-20
	dd	0
	align	4
_4569:
	dd	_4517
	dd	22
	dd	3
	align	4
_4571:
	dd	_4517
	dd	23
	dd	3
	align	4
_4575:
	dd	_4517
	dd	25
	dd	3
	align	4
_4579:
	dd	_4517
	dd	27
	dd	3
	align	4
_4583:
	dd	_4517
	dd	29
	dd	3
	align	4
_4593:
	dd	_4517
	dd	31
	dd	3
